Django

Code

Changeset 3887

Show
Ignore:
Timestamp:
10/03/06 04:53:12 (2 years ago)
Author:
russellm
Message:

Altered the order of arguments to the test function to match common practice in the rest of management.py.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/core/management.py

    r3874 r3887  
    11771177runfcgi.args = '[various KEY=val options, use `runfcgi help` for help]' 
    11781178 
    1179 def test(verbosity, app_labels): 
     1179def test(app_labels, verbosity=1): 
    11801180    "Runs the test suite for the specified applications" 
    11811181    from django.conf import settings 
     
    13281328    elif action == 'test': 
    13291329        try: 
    1330             action_mapping[action](int(options.verbosity), args[1:]
     1330            action_mapping[action](args[1:], int(options.verbosity)
    13311331        except IndexError: 
    13321332            parser.print_usage_and_exit()