mirror of https://github.com/zulip/zulip.git
Add hack to clean up zephyr/lib/time.pyc -- it will break tests.
(imported from commit f649b31010adc38e3820879fcdd543e81d271d0f)
This commit is contained in:
parent
761b7cd5fa
commit
b977bce998
|
@ -1,6 +1,11 @@
|
|||
#!/bin/sh -e
|
||||
mkdir -p zephyr/fixtures
|
||||
rm -f zephyr/tests/zephyrdb.test
|
||||
|
||||
# Remove time.pyc to try to prevent it from screwing people importing
|
||||
# time from inside zephyr.lib. We can drop this hack after a bit.
|
||||
rm -f zephyr/lib/time.pyc
|
||||
|
||||
python manage.py syncdb --noinput --settings=humbug.test_settings
|
||||
python manage.py migrate --settings=humbug.test_settings --all
|
||||
# This next line can be simplified to "-n0" once we fix our app with 0 messages.
|
||||
|
|
Loading…
Reference in New Issue