diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2011-03-26 17:45:42 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2011-03-26 17:45:42 +0000 |
| commit | 471c9aee9771da32b942e71c7dcaef97a4c70f1c (patch) | |
| tree | 6f702b8973308c8bbcbb209fb19cb02b76f390ed /tests/regressiontests/admin_scripts | |
| parent | 5d854608feb40ff2a4e205f202d267f0f964a2b0 (diff) | |
Fixed #9158 -- Changed django-admin.py help to be printed to stdout instead of stderr, so that it's more easily greppable. Thanks, petr.marhoun@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@15921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests/regressiontests/admin_scripts')
| -rw-r--r-- | tests/regressiontests/admin_scripts/tests.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/regressiontests/admin_scripts/tests.py b/tests/regressiontests/admin_scripts/tests.py index ed4bd356ba..290a3cad7c 100644 --- a/tests/regressiontests/admin_scripts/tests.py +++ b/tests/regressiontests/admin_scripts/tests.py @@ -1113,7 +1113,7 @@ class CommandTypes(AdminScriptTestCase): self.assertOutput(out, "usage: manage.py subcommand [options] [args]") else: self.assertOutput(out, "Usage: manage.py subcommand [options] [args]") - self.assertOutput(err, "Type 'manage.py help <subcommand>' for help on a specific subcommand.") + self.assertOutput(out, "Type 'manage.py help <subcommand>' for help on a specific subcommand.") def test_short_help(self): "-h is handled as a short form of --help" @@ -1123,7 +1123,7 @@ class CommandTypes(AdminScriptTestCase): self.assertOutput(out, "usage: manage.py subcommand [options] [args]") else: self.assertOutput(out, "Usage: manage.py subcommand [options] [args]") - self.assertOutput(err, "Type 'manage.py help <subcommand>' for help on a specific subcommand.") + self.assertOutput(out, "Type 'manage.py help <subcommand>' for help on a specific subcommand.") def test_specific_help(self): "--help can be used on a specific command" |
