test: Fail if generate-fixtures fails

(imported from commit b13167ad04837cfeb64989ff43fec2e6ae890a33)
This commit is contained in:
Keegan McAllister 2012-11-02 17:20:39 -04:00
parent 35171b9d3e
commit 0d538d91ac
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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