diff options
| author | Cody Logan <cody@lokken.dev> | 2023-11-07 12:19:15 -0800 |
|---|---|---|
| committer | Cody Logan <cody@lokken.dev> | 2023-11-07 12:19:15 -0800 |
| commit | 1f4046739a8fe913872a8b17362fe81a81adb581 (patch) | |
| tree | 81f1bae01a5f0f44a08f6f0cab3d471717318f72 /tests/test_dl.py | |
| parent | 5129ad62392948a033ee988e4093d095f5005c77 (diff) | |
| download | wikiget-1f4046739a8fe913872a8b17362fe81a81adb581.tar.gz wikiget-1f4046739a8fe913872a8b17362fe81a81adb581.zip | |
Fix some pytest style issues
Diffstat (limited to 'tests/test_dl.py')
| -rw-r--r-- | tests/test_dl.py | 4 |
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() |
