aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test_command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_command.py b/tests/test_command.py
index d0b6437..f4e93bb 100644
--- a/tests/test_command.py
+++ b/tests/test_command.py
@@ -54,7 +54,7 @@ class testCommand(unittest.TestCase):
sys.argv = argv
with contextlib.redirect_stdout(stream['stdout']):
with contextlib.redirect_stderr(stream['stderr']):
- cmd.main()
+ cmd.run()
sys.argv = old_argv
return stream