We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d4d24b5 commit bb836e7Copy full SHA for bb836e7
test/conftest.py
@@ -1,4 +1,5 @@
1
from datetime import datetime
2
+from typing import Callable
3
from uuid import uuid4
4
5
import pytest
@@ -12,7 +13,7 @@ def _generate_unique_detector_name(prefix: str = "Test") -> str:
12
13
14
15
@pytest.fixture(name="detector_name")
-def fixture_detector_name():
16
+def fixture_detector_name() -> Callable[..., str]:
17
"""Fixture that provides a callable to generate unique detector names."""
18
return _generate_unique_detector_name
19
0 commit comments