Author: jacob
Date: 2009-04-05 14:00:27 -0500 (Sun, 05 Apr 2009)
New Revision: 10404

Modified:
   django/trunk/django/contrib/auth/tests/basic.py
Log:
Fixed a sloppy test auth test. [10400] revealed that the auth test was relying 
on the weird difference between calling a management from the shell and from 
`call_command`. That this worked in the first case was pretty much an accident.

Modified: django/trunk/django/contrib/auth/tests/basic.py
===================================================================
--- django/trunk/django/contrib/auth/tests/basic.py     2009-04-05 17:54:40 UTC 
(rev 10403)
+++ django/trunk/django/contrib/auth/tests/basic.py     2009-04-05 19:00:27 UTC 
(rev 10404)
@@ -58,7 +58,7 @@
 #
 >>> from django.core.management import call_command
 
->>> call_command("createsuperuser", noinput=True, username="joe", 
email="[email protected]")
+>>> call_command("createsuperuser", interactive=False, username="joe", 
email="[email protected]")
 Superuser created successfully.
 
 >>> u = User.objects.get(username="joe")


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

Reply via email to