From 1b0caf50f6f4b8ea2459deee3e97458e74e3dfa2 Mon Sep 17 00:00:00 2001 From: Arun Babu Neelicattu Date: Tue, 12 Mar 2024 23:18:51 +0100 Subject: [PATCH] tests/integration: disable httpretty --- tests/integration/conftest.py | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 tests/integration/conftest.py diff --git a/tests/integration/conftest.py b/tests/integration/conftest.py new file mode 100644 index 00000000000..c3d0fdfd765 --- /dev/null +++ b/tests/integration/conftest.py @@ -0,0 +1,14 @@ +from __future__ import annotations + +from typing import TYPE_CHECKING + +import pytest + + +if TYPE_CHECKING: + import httpretty + + +@pytest.fixture(autouse=True) +def disable_httpretty(http: type[httpretty.httpretty]) -> None: + http.disable()