Skip to content

Commit 6b13f67

Browse files
author
Andrei Neagu
committed
removed unused
1 parent d8904de commit 6b13f67

File tree

1 file changed

+1
-19
lines changed

1 file changed

+1
-19
lines changed

services/dynamic-sidecar/tests/unit/conftest.py

Lines changed: 1 addition & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
from async_asgi_testclient import TestClient
1313
from fastapi import FastAPI
1414
from pytest_mock.plugin import MockerFixture
15-
from pytest_simcore.helpers.monkeypatch_envs import EnvVarsDict, setenvs_from_dict
15+
from pytest_simcore.helpers.monkeypatch_envs import EnvVarsDict
1616
from simcore_service_dynamic_sidecar.core.application import AppState, create_app
1717
from simcore_service_dynamic_sidecar.core.docker_compose_utils import (
1818
docker_compose_down,
@@ -127,24 +127,6 @@ async def cleanup_containers(app: FastAPI) -> AsyncIterator[None]:
127127
await docker_compose_down(app_state.compose_spec, app_state.settings)
128128

129129

130-
@pytest.fixture
131-
def mock_rabbitmq_envs(
132-
mock_core_rabbitmq: dict[str, AsyncMock],
133-
monkeypatch: pytest.MonkeyPatch,
134-
mock_environment: EnvVarsDict,
135-
) -> EnvVarsDict:
136-
setenvs_from_dict(
137-
monkeypatch,
138-
{
139-
"RABBIT_HOST": "mocked_host",
140-
"RABBIT_SECURE": "false",
141-
"RABBIT_USER": "mocked_user",
142-
"RABBIT_PASSWORD": "mocked_password",
143-
},
144-
)
145-
return mock_environment
146-
147-
148130
@pytest.fixture
149131
def port_notifier(app: FastAPI) -> PortNotifier:
150132
settings: ApplicationSettings = app.state.settings

0 commit comments

Comments
 (0)