summaryrefslogtreecommitdiff
path: root/tests/user_commands
diff options
context:
space:
mode:
authorClaude Paroz <claude@2xlibre.net>2014-08-18 19:53:53 +0200
committerClaude Paroz <claude@2xlibre.net>2014-08-18 19:55:05 +0200
commita3d7f58151e4a2996476d400bab0335b8d616bde (patch)
treefb7eedd080c08f0659de72687740bf68d4a3eff2 /tests/user_commands
parentf76222e1d3f593c188c26e4f1da56a6ce3470dc0 (diff)
Removed test, duplicate of admin_scripts.CommandTypes tests
Diffstat (limited to 'tests/user_commands')
-rw-r--r--tests/user_commands/tests.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/tests/user_commands/tests.py b/tests/user_commands/tests.py
index 390e95060e..58ad0cbe89 100644
--- a/tests/user_commands/tests.py
+++ b/tests/user_commands/tests.py
@@ -108,12 +108,6 @@ class CommandTests(SimpleTestCase):
sys.stdout, sys.stderr = old_stdout, old_stderr
self.assertEqual(output, "All right, let's dance Rock'n'Roll.\n")
- def test_calling_an_help_command_should_exit_with_systemexit_exception(self):
- out = StringIO()
- with self.assertRaises(SystemExit):
- management.call_command('hal', "--help", stdout=out)
- self.assertIn("", out.getvalue())
-
def test_calling_a_command_with_only_empty_parameter_should_ends_gracefully(self):
out = StringIO()
management.call_command('hal', "--empty", stdout=out)