diff options
| author | Justin Bronn <jbronn@gmail.com> | 2009-04-21 20:14:42 +0000 |
|---|---|---|
| committer | Justin Bronn <jbronn@gmail.com> | 2009-04-21 20:14:42 +0000 |
| commit | ed5e3c3d2bf58583dcf50481b2d79f839b411b58 (patch) | |
| tree | 4d63a81c970626f1f51837d6901d1310cd9a7206 | |
| parent | 7ff22ef258e464b44cbb295738e7c0776ab7909f (diff) | |
[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
| -rw-r--r-- | django/contrib/gis/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/gis/tests/__init__.py b/django/contrib/gis/tests/__init__.py index 19d305e3bd..fe7e33311c 100644 --- a/django/contrib/gis/tests/__init__.py +++ b/django/contrib/gis/tests/__init__.py @@ -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. |
