File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change 33from infrahub_sdk import InfrahubClient
44from infrahub_sdk .checks import InfrahubCheck
55
6+ pytestmark = pytest .mark .httpx_mock (can_send_already_matched_responses = True )
7+
68
79async def test_class_init ():
810 class IFCheckNoQuery (InfrahubCheck ):
Original file line number Diff line number Diff line change 1818if TYPE_CHECKING :
1919 from pytest_httpx import HTTPXMock
2020
21+ pytestmark = pytest .mark .httpx_mock (can_send_already_matched_responses = True )
22+
2123
2224@dataclass
2325class BothClients :
Original file line number Diff line number Diff line change 77from infrahub_sdk .exceptions import NodeNotFoundError
88from infrahub_sdk .node import InfrahubNode , InfrahubNodeSync
99
10+ pytestmark = pytest .mark .httpx_mock (can_send_already_matched_responses = True )
11+
1012excluded_methods = ["request_context" ]
1113
1214async_client_methods = [
You can’t perform that action at this time.
0 commit comments