Skip to content

Commit cb56f35

Browse files
PerchunPakItsDrike
authored andcommitted
Fix type errors
1 parent c1f2e12 commit cb56f35

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/responses/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
import abc
44
from typing import Any, TypeVar, cast
55

6+
import pytest
7+
68
from mcstatus.responses import BaseStatusResponse
79

810
__all__ = ["BaseResponseTest"]
@@ -40,6 +42,7 @@ def _validate(self) -> None:
4042
raise ValueError("You can't test the type availability, if already testing its value/type.")
4143

4244
@abc.abstractmethod
45+
@pytest.fixture(scope="class")
4346
def build(self) -> Any: # noqa: ANN401
4447
...
4548

0 commit comments

Comments
 (0)