fixed PY-1409 Django test runner hangs on error creating the test database

This commit is contained in:
Ekaterina Tuzova
2011-03-01 14:11:38 +03:00
parent 59bb325e48
commit 09a7658e93
+2 -1
View File
@@ -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):
"""