Browse files

Altered the order of arguments to the test function to match common p…

…ractice in the rest of

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 6afa40e commit bf6257f1ee6ec5a385af204a5342ca3cba67b127 @freakboy3742 freakboy3742 committed Oct 3, 2006
Showing with 2 additions and 2 deletions.
  1. +2 −2 django/core/
@@ -1176,7 +1176,7 @@ def runfcgi(args):
runfcgi.args = '[various KEY=val options, use `runfcgi help` for help]'
-def test(verbosity, app_labels):
+def test(app_labels, verbosity=1):
"Runs the test suite for the specified applications"
from django.conf import settings
from django.db.models import get_app, get_apps
@@ -1327,7 +1327,7 @@ def execute_from_command_line(action_mapping=DEFAULT_ACTION_MAPPING, argv=None):
elif action == 'test':
- action_mapping[action](int(options.verbosity), args[1:])
+ action_mapping[action](args[1:], int(options.verbosity))
except IndexError:
elif action in ('startapp', 'startproject'):

0 comments on commit bf6257f

Please sign in to comment.