Skip to content

Commit 295889d

Browse files
committed
fixed test
1 parent 61984ba commit 295889d

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,14 @@
99
from fastapi import FastAPI
1010
from pytest_simcore.helpers.monkeypatch_envs import EnvVarsDict
1111

12+
pytest_simcore_core_services_selection = [
13+
"postgres",
14+
]
15+
16+
pytest_simcore_ops_services_selection = [
17+
"adminer",
18+
]
19+
1220

1321
@pytest.fixture
1422
def mock_environment(mock_environment_with_envdevel: EnvVarsDict) -> None:

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@
1111
"postgres",
1212
]
1313

14+
pytest_simcore_ops_services_selection = [
15+
"adminer",
16+
]
17+
1418

1519
async def test_is_healthy(test_client: TestClient) -> None:
1620
test_client.application.state.application_health.is_healthy = True

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,6 @@ async def app(
8383
mock_environment: EnvVarsDict,
8484
mock_registry_service: AsyncMock,
8585
mock_storage_check: None,
86-
mock_postgres_check: None,
8786
mocker: MockerFixture,
8887
) -> AsyncIterable[FastAPI]:
8988
mocker.patch(

0 commit comments

Comments
 (0)