1
0
mirror of https://github.com/django/django.git synced 2025-07-18 16:49:13 +00:00

[1.0.X] Fixed #10791 -- The GeoDjango test runner now respects the --noinput command-line option, thanks to seanl for ticket & patch.

Backport of r10601 from trunk.


git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Justin Bronn 2009-04-21 20:14:42 +00:00
parent 7ff22ef258
commit ed5e3c3d2b

View File

@ -193,7 +193,7 @@ def run_tests(test_labels, verbosity=1, interactive=True, extra_tests=[], suite=
suite.addTest(test)
# Creating the test spatial database.
create_spatial_db(test=True, verbosity=verbosity)
create_spatial_db(test=True, verbosity=verbosity, autoclobber=not interactive)
# Executing the tests (including the model tests), and destorying the
# test database after the tests have completed.