diff options
Diffstat (limited to 'example_project/runtests.py')
-rw-r--r-- | example_project/runtests.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/example_project/runtests.py b/example_project/runtests.py index c10a73db4..c518429e9 100644 --- a/example_project/runtests.py +++ b/example_project/runtests.py @@ -17,12 +17,15 @@ if not os.path.exists(local_settings): import django from django.test.utils import get_runner from django.conf import settings +from django.core.management import call_command def runtests(): django.setup() + call_command('collectstatic', interactive=False, verbosity=0) TestRunner = get_runner(settings) - test_runner = TestRunner(verbosity=1, interactive=True) + test_runner = TestRunner(verbosity=1, interactive=True, + exclude_tags=["not-setup-py"]) failures = test_runner.run_tests( ["ishtar_common.tests", "archaeological_files.tests", |