Make the test suite faster.

(imported from commit 7baf86f0d615f05eec9873b84cf4c88476798895)
This commit is contained in:
Tim Abbott 2012-10-01 17:33:23 -04:00
parent 029ae76a4a
commit e9d5532a41
1 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
#!/bin/sh
mkdir -p zephyr/fixtures
python manage.py dumpdata auth.User zephyr.UserProfile zephyr.ZephyrClass zephyr.Recipient zephyr.Subscription zephyr.Zephyr zephyr.Huddle zephyr.Realm zephyr.UserMessage > zephyr/fixtures/zephyrs.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.ZephyrClass zephyr.Recipient zephyr.Subscription zephyr.Zephyr zephyr.Huddle zephyr.Realm zephyr.UserMessage > zephyr/fixtures/zephyrs.json