From efd7e2bbeaf06c7c99fa8c4329122d73eadf2433 Mon Sep 17 00:00:00 2001 From: erikzaadi Date: Thu, 31 Oct 2024 19:42:18 +0200 Subject: [PATCH] Alter fake integration (change in pytest-httpx) --- integrations/fake-integration/tests/conftest.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/integrations/fake-integration/tests/conftest.py b/integrations/fake-integration/tests/conftest.py index c0daae0da6..42cc3fbfc9 100644 --- a/integrations/fake-integration/tests/conftest.py +++ b/integrations/fake-integration/tests/conftest.py @@ -1,3 +1,9 @@ +import pytest + +def pytest_collection_modifyitems(session, config, items): + for item in items: + item.add_marker(pytest.mark.httpx_mock(can_send_already_matched_responses=True)) + # ruff: noqa from port_ocean.tests.helpers.fixtures import ( get_mocked_ocean_app,