summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorRamiro Morales <cramm0@gmail.com>2011-12-29 01:18:30 +0000
committerRamiro Morales <cramm0@gmail.com>2011-12-29 01:18:30 +0000
commit953a471a21444be9bcbc60537853c058d2b23314 (patch)
tree2f78498874bc37a6f68500862d0e0c95d9bf4f9e /tests
parenta343a84ce6a8e7e0de2998ac423cbc1cecdb9aea (diff)
Made sure `manage.py help test` works.
Thanks shige DOT abe AT nasa DOT gov for the report. Fixes #17477. Refs r16352. git-svn-id: http://code.djangoproject.com/svn/django/trunk@17284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'tests')
-rw-r--r--tests/regressiontests/test_runner/tests.py14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/regressiontests/test_runner/tests.py b/tests/regressiontests/test_runner/tests.py
index 4e2555ee2e..d19df3c725 100644
--- a/tests/regressiontests/test_runner/tests.py
+++ b/tests/regressiontests/test_runner/tests.py
@@ -214,6 +214,20 @@ class CustomTestRunnerOptionsTests(AdminScriptTestCase):
self.assertOutput(out, 'bar:foo:31337')
+class Ticket17477RegressionTests(AdminScriptTestCase):
+ def setUp(self):
+ self.write_settings('settings.py')
+
+ def tearDown(self):
+ self.remove_settings('settings.py')
+
+ def test_ticket_17477(self):
+ """'manage.py help test' works after r16352."""
+ args = ['help', 'test']
+ out, err = self.run_manage(args)
+ self.assertNoOutput(err)
+
+
class ModulesTestsPackages(unittest.TestCase):
def test_get_tests(self):
"Check that the get_tests helper function can find tests in a directory"