Skip to content

Commit 36d57d2

Browse files
committed
doc
1 parent cffe7d5 commit 36d57d2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/api-server/tests/unit/service/conftest.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ async def catalog_rpc_side_effect():
3131

3232
@pytest.fixture
3333
def mocked_rpc_client(mocker: MockerFixture) -> MockType:
34+
"""This fixture mocks the RabbitMQRPCClient.request method which is used
35+
in all RPC clients in the api-server, regardeless of the namespace.
36+
"""
3437

3538
async def _request(
3639
namespace: RPCNamespace,

0 commit comments

Comments
 (0)