summaryrefslogtreecommitdiff
path: root/tests/admin_scripts/tests.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/admin_scripts/tests.py')
-rw-r--r--tests/admin_scripts/tests.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/admin_scripts/tests.py b/tests/admin_scripts/tests.py
index d90456ac13..b8bcea35f0 100644
--- a/tests/admin_scripts/tests.py
+++ b/tests/admin_scripts/tests.py
@@ -2223,3 +2223,7 @@ class MainModule(AdminScriptTestCase):
cmd_out, _ = self.run_django_admin(['--version'])
mod_out, _ = self.run_test('-m', ['django', '--version'])
self.assertEqual(mod_out, cmd_out)
+
+ def test_program_name_in_help(self):
+ out, err = self.run_test('-m', ['django', 'help'])
+ self.assertOutput(out, "Type 'python -m django help <subcommand>' for help on a specific subcommand.")