Browse files

[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: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 734a3ac commit 520c670b9d589f16af6c9b4bf44883fb9a000bf7 @jacobian jacobian committed Apr 5, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 django/contrib/auth/tests/
@@ -58,7 +58,7 @@
>>> from import call_command
->>> call_command("createsuperuser", noinput=True, username="joe", email="")
+>>> call_command("createsuperuser", interactive=False, username="joe", email="")
Superuser created successfully.
>>> u = User.objects.get(username="joe")

0 comments on commit 520c670

Please sign in to comment.