Skip to content

Commit 661b835

Browse files
committed
add fixture to not mock the rabbit for zipping tests
1 parent 66dafb0 commit 661b835

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

services/storage/tests/unit/test_zipping.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
ZipTaskAbortOutput,
1212
ZipTaskStartInput,
1313
)
14+
from pytest_mock import MockerFixture
1415
from pytest_simcore.helpers.monkeypatch_envs import setenvs_from_dict
1516
from pytest_simcore.helpers.typing_env import EnvVarsDict
1617
from servicelib.rabbitmq import RabbitMQRPCClient
@@ -30,6 +31,12 @@
3031
]
3132

3233

34+
@pytest.fixture
35+
async def mock_rabbit_setup(mocker: MockerFixture):
36+
# fixture to avoid mocking the rabbit
37+
pass
38+
39+
3340
@pytest.fixture
3441
async def app_environment(
3542
app_environment: EnvVarsDict,

0 commit comments

Comments
 (0)