From 1f4046739a8fe913872a8b17362fe81a81adb581 Mon Sep 17 00:00:00 2001 From: Cody Logan Date: Tue, 7 Nov 2023 12:19:15 -0800 Subject: Fix some pytest style issues --- tests/test_dl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/test_dl.py') diff --git a/tests/test_dl.py b/tests/test_dl.py index d39c352..6075515 100644 --- a/tests/test_dl.py +++ b/tests/test_dl.py @@ -281,9 +281,9 @@ class TestBatchDownload: assert errors == 1 -@pytest.mark.usefixtures("mock_get") +@pytest.mark.usefixtures("_mock_get") class TestDownload: - @pytest.fixture + @pytest.fixture() def mock_file(self, tmp_path: Path) -> File: file = File(name="Example.jpg", dest=str(tmp_path / "Example.jpg")) file.image = Mock() -- cgit v1.2.3