Author: jbronn
Date: 2009-04-21 15:14:42 -0500 (Tue, 21 Apr 2009)
New Revision: 10613

Modified:
   django/branches/releases/1.0.X/django/contrib/gis/tests/__init__.py
Log:
[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.


Modified: django/branches/releases/1.0.X/django/contrib/gis/tests/__init__.py
===================================================================
--- django/branches/releases/1.0.X/django/contrib/gis/tests/__init__.py 
2009-04-21 18:58:32 UTC (rev 10612)
+++ django/branches/releases/1.0.X/django/contrib/gis/tests/__init__.py 
2009-04-21 20:14:42 UTC (rev 10613)
@@ -193,7 +193,7 @@
             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.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to