From 09a7658e93c3985c6602e649fbf87f8f597d2f20 Mon Sep 17 00:00:00 2001 From: Ekaterina Tuzova Date: Tue, 1 Mar 2011 14:11:38 +0300 Subject: [PATCH] fixed PY-1409 Django test runner hangs on error creating the test database --- python/helpers/pycharm/django_test_runner.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/python/helpers/pycharm/django_test_runner.py b/python/helpers/pycharm/django_test_runner.py index 1821cd827a95..f126eac9b626 100644 --- a/python/helpers/pycharm/django_test_runner.py +++ b/python/helpers/pycharm/django_test_runner.py @@ -21,9 +21,10 @@ except ImportError: class DjangoTeamcityTestRunner(BaseRunner): def __init__(self, stream=sys.stdout): BaseRunner.__init__(self, stream) + self.interactive = False def run_suite(self, suite): - return TeamcityTestRunner().run(suite) + return TeamcityTestRunner().run(suite) def partition_suite(suite, classes, bins): """