summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Kaplan-Moss <jacob@jacobian.org>2009-04-05 19:01:03 +0000
committerJacob Kaplan-Moss <jacob@jacobian.org>2009-04-05 19:01:03 +0000
commit520c670b9d589f16af6c9b4bf44883fb9a000bf7 (patch)
tree333c41f75ed595b01db29ee732c0180f26a98417
parent734a3ac767ab5f8b752f3372e19ca2c7ada42979 (diff)
[1.0.X] 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. Backport of r10404 from trunk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/releases/1.0.X@10405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
-rw-r--r--django/contrib/auth/tests/basic.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/django/contrib/auth/tests/basic.py b/django/contrib/auth/tests/basic.py
index 0b49a45728..f403613475 100644
--- a/django/contrib/auth/tests/basic.py
+++ b/django/contrib/auth/tests/basic.py
@@ -58,7 +58,7 @@ True
#
>>> from django.core.management import call_command
->>> call_command("createsuperuser", noinput=True, username="joe", email="joe@somewhere.org")
+>>> call_command("createsuperuser", interactive=False, username="joe", email="joe@somewhere.org")
Superuser created successfully.
>>> u = User.objects.get(username="joe")