aboutsummaryrefslogtreecommitdiff
path: root/tests/conftest.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/conftest.py
parent5129ad62392948a033ee988e4093d095f5005c77 (diff)
downloadwikiget-1f4046739a8fe913872a8b17362fe81a81adb581.tar.gz
wikiget-1f4046739a8fe913872a8b17362fe81a81adb581.zip
Fix some pytest style issues
Diffstat (limited to 'tests/conftest.py')
-rw-r--r--tests/conftest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/conftest.py b/tests/conftest.py
index 94fc053..cda7dd3 100644
--- a/tests/conftest.py
+++ b/tests/conftest.py
@@ -19,8 +19,8 @@ import pytest
import requests_mock as rm
-@pytest.fixture
-def mock_get(requests_mock: rm.Mocker) -> None:
+@pytest.fixture()
+def _mock_get(requests_mock: rm.Mocker) -> None:
# fake the download request for File:Example.jpg
requests_mock.get(
"https://upload.wikimedia.org/wikipedia/commons/a/a9/Example.jpg",