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

Function mock_manager_interface

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

Fixture for a `ManagerInterface` that asserts parameter types and forwards method calls to an internal public `mock.Mock` instance.

(create_mock_manager_interface)

Source from the content-addressed store, hash-verified

137
138@pytest.fixture
139def mock_manager_interface(create_mock_manager_interface):
140 """
141 Fixture for a `ManagerInterface` that asserts parameter types and
142 forwards method calls to an internal public `mock.Mock` instance.
143 """
144 return create_mock_manager_interface()
145
146
147@pytest.fixture

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected