aboutsummaryrefslogtreecommitdiff
path: root/tests/test_dl.py
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-11-07 12:19:15 -0800
committerCody Logan <cody@lokken.dev>2023-11-07 12:19:15 -0800
commit1f4046739a8fe913872a8b17362fe81a81adb581 (patch)
tree81f1bae01a5f0f44a08f6f0cab3d471717318f72 /tests/test_dl.py
parent5129ad62392948a033ee988e4093d095f5005c77 (diff)
downloadwikiget-1f4046739a8fe913872a8b17362fe81a81adb581.tar.gz
wikiget-1f4046739a8fe913872a8b17362fe81a81adb581.zip
Fix some pytest style issues
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 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()