Skip to content

Commit

Permalink
Alter fake integration (change in pytest-httpx)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikzaadi committed Nov 10, 2024
1 parent 473ca5b commit cdb650d
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion integrations/fake-integration/tests/conftest.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# ruff: noqa
from typing import Any

from port_ocean.tests.helpers.fixtures import (
get_mocked_ocean_app,
get_mock_ocean_resource_configs,
)
import pytest


def pytest_collection_modifyitems(session: Any, config: Any, items: Any) -> None:
for item in items:
# This allows us to re-requestd the same mocked endpoint several times
item.add_marker(pytest.mark.httpx_mock(can_send_already_matched_responses=True))


# ruff: noqa

0 comments on commit cdb650d

Please sign in to comment.