MCPcopy Create free account
hub / github.com/OpenAssetIO/OpenAssetIO / mock_host_interface

Function mock_host_interface

src/openassetio-python/tests/conftest.py:95–100  ·  view source on GitHub ↗

Fixture for a `HostInterface` that forwards method calls to an internal public `mock.Mock` instance.

()

Source from the content-addressed store, hash-verified

93
94@pytest.fixture
95def mock_host_interface():
96 """
97 Fixture for a `HostInterface` that forwards method calls to an
98 internal public `mock.Mock` instance.
99 """
100 return MockHostInterface()
101
102
103@pytest.fixture

Callers

nothing calls this directly

Calls 1

MockHostInterfaceClass · 0.70

Tested by

no test coverage detected