2012-11-02 22:20:39 +01:00
|
|
|
#!/bin/sh -e
|
2012-09-04 22:31:56 +02:00
|
|
|
mkdir -p zephyr/fixtures
|
2012-10-11 00:12:27 +02:00
|
|
|
rm -f zephyr/tests/zephyrdb.test
|
2012-10-11 00:10:48 +02:00
|
|
|
python manage.py syncdb --noinput --settings=humbug.test_settings
|
|
|
|
python manage.py populate_db --settings=humbug.test_settings -n20
|
2012-10-25 06:11:28 +02:00
|
|
|
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.Client > zephyr/fixtures/messages.json
|