Improve performance and add type hints
This commit is contained in:
parent
1782db4840
commit
b7e10e766e
23 changed files with 745 additions and 178 deletions
|
|
@ -136,7 +136,7 @@ class ImportChzzkCampaignRangeCommandTest(TestCase):
|
|||
stdout = StringIO()
|
||||
stderr = StringIO()
|
||||
|
||||
def side_effect(command: str, *args: str, **kwargs: object) -> None:
|
||||
def side_effect(command: str, *args: str, **kwargs: StringIO) -> None:
|
||||
if "4" in args:
|
||||
msg = "Campaign 4 not found"
|
||||
raise CommandError(msg)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue