We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c1f2e12 commit cb56f35Copy full SHA for cb56f35
tests/responses/__init__.py
@@ -3,6 +3,8 @@
3
import abc
4
from typing import Any, TypeVar, cast
5
6
+import pytest
7
+
8
from mcstatus.responses import BaseStatusResponse
9
10
__all__ = ["BaseResponseTest"]
@@ -40,6 +42,7 @@ def _validate(self) -> None:
40
42
raise ValueError("You can't test the type availability, if already testing its value/type.")
41
43
44
@abc.abstractmethod
45
+ @pytest.fixture(scope="class")
46
def build(self) -> Any: # noqa: ANN401
47
...
48
0 commit comments