File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -140,11 +140,19 @@ async def storage_s3_bucket(app_settings: ApplicationSettings) -> str:
140140 return app_settings .STORAGE_S3 .S3_BUCKET_NAME
141141
142142
143+ @pytest .fixture
144+ async def mock_rabbit_setup (mocker : MockerFixture ) -> MockerFixture :
145+ mocker .patch ("simcore_service_storage.core.application.setup_rabbitmq" )
146+ mocker .patch ("simcore_service_storage.core.application.setup_rpc_api_routes" )
147+ return mocker
148+
149+
143150@pytest .fixture
144151def app_environment (
145152 mock_env_devel_environment : EnvVarsDict ,
146153 monkeypatch : pytest .MonkeyPatch ,
147154 external_envfile_dict : EnvVarsDict ,
155+ mock_rabbit_setup : MockerFixture ,
148156) -> EnvVarsDict :
149157 if external_envfile_dict :
150158 delenvs_from_dict (monkeypatch , mock_env_devel_environment , raising = False )
You can’t perform that action at this time.
0 commit comments