diff options
author | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 09:20:19 +0100 |
---|---|---|
committer | Elena ``of Valhalla'' Grandi <valhalla@trueelena.org> | 2022-03-11 09:20:19 +0100 |
commit | 6f68b21fc6e2f675ea83c4b96df93fcf7edc54dd (patch) | |
tree | 1a97f7842fa3acf5c7943f288f97fa371cc09c5b /tests | |
parent | b3ce304e2857bf729dafc064a87e87a25cf0788e (diff) |
Rename the main for a MainCommand to make it more consistent with (sub)Commands.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_command.py | 2 |
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 |