From 16503bea7a9305f49b85ed2da54bec6d328dd9a7 Mon Sep 17 00:00:00 2001
From: bronsen <kontakt+gitcommit@nrrd.de>
Date: Sat, 15 Mar 2025 22:30:34 +0100
Subject: [PATCH] [codestyle] add type hint to fixture, indicating it is a
 function that we need to call

---
 collector/tests.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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())