Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed a sloppy test auth test. [10400] revealed that the auth test wa…

…s 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.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@10404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit 6d5492630d22c839142a38846aa8b7e2340427cb 1 parent dd966f0
@jacobian jacobian authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django/contrib/auth/tests/basic.py
View
2  django/contrib/auth/tests/basic.py
@@ -58,7 +58,7 @@
#
>>> 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")

0 comments on commit 6d54926

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