From d166d45cf716b933a46281cbef82ed1cab8c224a Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Fri, 27 Oct 2023 11:45:26 -0700 Subject: Fix error in dl test (still non-functional) --- tests/test_dl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/test_dl.py') diff --git a/tests/test_dl.py b/tests/test_dl.py index 5477b5f..5c962f9 100644 --- a/tests/test_dl.py +++ b/tests/test_dl.py @@ -25,6 +25,6 @@ from wikiget.wikiget import construct_parser @pytest.mark.skip(reason="skip tests that query a live API") class TestPrepDownload: def test_prep_download(self) -> None: - args = construct_parser().parser.parse_args(["File:Example.jpg"]) + args = construct_parser().parse_args(["File:Example.jpg"]) file = prep_download(args.FILE, args) assert file is not None -- cgit v1.2.3