diff --git a/collector/tests.py b/collector/tests.py index c23355f..1b2208a 100644 --- a/collector/tests.py +++ b/collector/tests.py @@ -1,3 +1,4 @@ +from typing import Callable import pytest from django.test import Client from django.urls import reverse @@ -41,7 +42,7 @@ def test_entering_same_name_twice_does_not_change_database_entry(data, session: ], ) def test_enter_endpoint_accepts_only_post_requests( - client: Client, http_method: str, expected_status: int, random_name + client: Client, http_method: str, expected_status: int, random_name: Callable[[int], str] ): request_method = getattr(client, http_method.lower())