mirror of https://github.com/zulip/zulip.git
test: Fail if generate-fixtures fails
(imported from commit b13167ad04837cfeb64989ff43fec2e6ae890a33)
This commit is contained in:
parent
35171b9d3e
commit
0d538d91ac
|
@ -12,7 +12,7 @@ from zephyr.lib.initial_password import initial_password
|
|||
import datetime
|
||||
import simplejson
|
||||
import subprocess
|
||||
subprocess.call("zephyr/tests/generate-fixtures");
|
||||
subprocess.check_call("zephyr/tests/generate-fixtures");
|
||||
from django.conf import settings
|
||||
import re
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
#!/bin/sh -e
|
||||
mkdir -p zephyr/fixtures
|
||||
rm -f zephyr/tests/zephyrdb.test
|
||||
python manage.py syncdb --noinput --settings=humbug.test_settings
|
||||
|
|
Loading…
Reference in New Issue