From 6f68b21fc6e2f675ea83c4b96df93fcf7edc54dd Mon Sep 17 00:00:00 2001 From: Elena ``of Valhalla'' Grandi Date: Fri, 11 Mar 2022 09:20:19 +0100 Subject: Rename the main for a MainCommand to make it more consistent with (sub)Commands. --- tests/test_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') 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 -- cgit v1.2.3