diff options
author | Prabhu Ramachandran | 2017-04-27 17:26:30 +0530 |
---|---|---|
committer | GitHub | 2017-04-27 17:26:30 +0530 |
commit | ea9e60c47b763515b324aa507da06a1e91c488c6 (patch) | |
tree | bcba25cfd6787bbd286733584f8f7d6bab2146ff | |
parent | 7da22eb25f2bd5c0a6c5ba29d1febacb4f03f939 (diff) | |
parent | 53bd7b2a5524ef224b2299c5acf48c6bd8630a7b (diff) | |
download | online_test-ea9e60c47b763515b324aa507da06a1e91c488c6.tar.gz online_test-ea9e60c47b763515b324aa507da06a1e91c488c6.tar.bz2 online_test-ea9e60c47b763515b324aa507da06a1e91c488c6.zip |
Merge pull request #282 from ankitjavalkar/dont-use-migrations-while-testing
Dont use migrations while testing
-rw-r--r-- | .travis.yml | 4 | ||||
-rw-r--r-- | online_test/test_settings.py | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 4777f11..c242e62 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,8 +19,8 @@ install: # command to run tests and coverage script: - coverage erase - - coverage run -p manage.py test -v 2 yaksh - - coverage run -p manage.py test -v 2 yaksh.live_server_tests.load_test + - coverage run -p manage.py test -v 2 --settings online_test.test_settings yaksh + - coverage run -p manage.py test -v 2 --settings online_test.test_settings yaksh.live_server_tests.load_test after_success: - coverage combine diff --git a/online_test/test_settings.py b/online_test/test_settings.py new file mode 100644 index 0000000..53f4901 --- /dev/null +++ b/online_test/test_settings.py @@ -0,0 +1,4 @@ +from online_test.settings import * + + +MIGRATION_MODULES = {'yaksh': None}
\ No newline at end of file |