mirror of https://github.com/zulip/zulip.git
Rename test-settings.py to test_settings.py
(imported from commit c9ad55821bc66a7c11668ac0b40ca13c2e05986e)
This commit is contained in:
parent
ac3f4393ff
commit
b5bb6b9921
|
@ -10,7 +10,7 @@ fi
|
|||
cd "$SCRIPT_DIR"/..;
|
||||
|
||||
if git ls-files | grep py$ | grep -v ^confirmation/ \
|
||||
| grep -v humbug/test-settings.py \
|
||||
| grep -v humbug/test_settings.py \
|
||||
| xargs pyflakes \
|
||||
| grep -v 'imported but unused'; then
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
mkdir -p zephyr/fixtures
|
||||
rm -f zephyr/fixtures/zephyrdb.test
|
||||
python manage.py syncdb --noinput --settings=humbug.test-settings
|
||||
python manage.py populate_db --settings=humbug.test-settings -n20
|
||||
python manage.py dumpdata --settings=humbug.test-settings auth.User zephyr.UserProfile zephyr.Stream zephyr.Recipient zephyr.Subscription zephyr.Message zephyr.Huddle zephyr.Realm zephyr.UserMessage > zephyr/fixtures/messages.json
|
||||
python manage.py syncdb --noinput --settings=humbug.test_settings
|
||||
python manage.py populate_db --settings=humbug.test_settings -n20
|
||||
python manage.py dumpdata --settings=humbug.test_settings auth.User zephyr.UserProfile zephyr.Stream zephyr.Recipient zephyr.Subscription zephyr.Message zephyr.Huddle zephyr.Realm zephyr.UserMessage > zephyr/fixtures/messages.json
|
||||
|
|
Loading…
Reference in New Issue