From bbf67e4e8fb3ad3b4adb3addbf9fbd71f47c8934 Mon Sep 17 00:00:00 2001 From: Facundo Batista Date: Fri, 25 Feb 2022 16:46:45 -0300 Subject: [PATCH] Fixed new pyright issues. --- tests/unit/test_dispatcher.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/test_dispatcher.py b/tests/unit/test_dispatcher.py index ede2cdc..97eb5c6 100644 --- a/tests/unit/test_dispatcher.py +++ b/tests/unit/test_dispatcher.py @@ -479,7 +479,7 @@ def run(self, parsed_args): self.done = True command = TestCommand(None) - command.run([]) + command.run(argparse.Namespace()) assert command.done @@ -495,7 +495,7 @@ class TestCommand(BaseCommand): # pylint: disable=abstract-method # yes, 'run' command = TestCommand(None) with pytest.raises(NotImplementedError): - command.run([]) # type: ignore + command.run(argparse.Namespace()) def test_basecommand_mandatory_attribute_name():