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 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
  • Loading branch information...
commit 520c670b9d589f16af6c9b4bf44883fb9a000bf7 1 parent 734a3ac
Jacob Kaplan-Moss authored

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

  1. 2  django/contrib/auth/tests/basic.py
2  django/contrib/auth/tests/basic.py
@@ -58,7 +58,7 @@
58 58
 #
59 59
 >>> from django.core.management import call_command
60 60
 
61  
->>> call_command("createsuperuser", noinput=True, username="joe", email="joe@somewhere.org")
  61
+>>> call_command("createsuperuser", interactive=False, username="joe", email="joe@somewhere.org")
62 62
 Superuser created successfully.
63 63
 
64 64
 >>> u = User.objects.get(username="joe")

0 notes on commit 520c670

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