Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

[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
  • Loading branch information...
commit ed5e3c3d2bf58583dcf50481b2d79f839b411b58 1 parent 7ff22ef
Justin Bronn authored April 21, 2009

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  django/contrib/gis/tests/__init__.py
2  django/contrib/gis/tests/__init__.py
@@ -193,7 +193,7 @@ def run_tests(test_labels, verbosity=1, interactive=True, extra_tests=[], suite=
193 193
             suite.addTest(test)
194 194
 
195 195
     # Creating the test spatial database.
196  
-    create_spatial_db(test=True, verbosity=verbosity)
  196
+    create_spatial_db(test=True, verbosity=verbosity, autoclobber=not interactive)
197 197
 
198 198
     # Executing the tests (including the model tests), and destorying the
199 199
     # test database after the tests have completed.

0 notes on commit ed5e3c3

Please sign in to comment.
Something went wrong with that request. Please try again.