aboutsummaryrefslogtreecommitdiffstats
path: root/pydis_site/apps/home/tests
diff options
context:
space:
mode:
authorGravatar Johannes Christ <[email protected]>2019-04-20 14:23:50 +0200
committerGravatar Johannes Christ <[email protected]>2019-04-20 14:23:50 +0200
commit8936bf63e9b508e308b5f563d9b172f4fcb954a7 (patch)
tree8771856393183fb3db532657b1cab02bee827655 /pydis_site/apps/home/tests
parentAdd type hinting. (diff)
Make the flakes happy.
Diffstat (limited to 'pydis_site/apps/home/tests')
-rw-r--r--pydis_site/apps/home/tests/test_repodata_helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/pydis_site/apps/home/tests/test_repodata_helpers.py b/pydis_site/apps/home/tests/test_repodata_helpers.py
index 639c6fac..59cb2331 100644
--- a/pydis_site/apps/home/tests/test_repodata_helpers.py
+++ b/pydis_site/apps/home/tests/test_repodata_helpers.py
@@ -10,7 +10,7 @@ from pydis_site.apps.home.models import RepositoryMetadata
from pydis_site.apps.home.views import HomeView
-def mocked_requests_get(*args, **kwargs) -> "MockResponse":
+def mocked_requests_get(*args, **kwargs) -> "MockResponse": # noqa
"""A mock version of requests.get, so we don't need to call the API every time we run a test"""
class MockResponse:
def __init__(self, json_data, status_code):