aboutsummaryrefslogtreecommitdiff
path: root/tests/test_dl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_dl.py')
-rw-r--r--tests/test_dl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_dl.py b/tests/test_dl.py
index fc68733..839cdee 100644
--- a/tests/test_dl.py
+++ b/tests/test_dl.py
@@ -29,7 +29,7 @@ from wikiget.wikiget import construct_parser
class TestQueryApi:
parser = construct_parser()
- def test_query_api(self, caplog):
+ def test_query_api(self, caplog: pytest.LogCaptureFixture) -> None:
caplog.set_level(logging.DEBUG)
args = self.parser.parse_args(["File:Example.jpg"])
file, site = query_api("Example.jpg", "commons.wikimedia.org", args)
@@ -40,7 +40,7 @@ class TestQueryApi:
class TestPrepDownload:
parser = construct_parser()
- def test_prep_download(self):
+ def test_prep_download(self) -> None:
args = self.parser.parse_args(["File:Example.jpg"])
file = prep_download(args.FILE, args)
assert file is not None