Skip to content

Commit 81ccf50

Browse files
committed
fixed tests
1 parent 41ed118 commit 81ccf50

File tree

3 files changed

+4
-0
lines changed

3 files changed

+4
-0
lines changed

services/director-v2/tests/unit/with_dbs/test_cli.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ def minimal_configuration(
4343
postgres_host_config: dict[str, str],
4444
monkeypatch: pytest.MonkeyPatch,
4545
faker: Faker,
46+
product_db: dict[str, Any],
4647
):
4748
monkeypatch.setenv("DIRECTOR_V2_DYNAMIC_SIDECAR_ENABLED", "false")
4849
monkeypatch.setenv("DIRECTOR_V2_POSTGRES_ENABLED", "1")
@@ -62,6 +63,7 @@ def cli_runner(minimal_configuration: None) -> CliRunner:
6263
@pytest.fixture
6364
async def project_at_db(
6465
create_registered_user: Callable[..., dict[str, Any]],
66+
product_db: dict[str, Any],
6567
project: Callable[..., Awaitable[ProjectAtDB]],
6668
fake_workbench_without_outputs: dict[str, Any],
6769
) -> ProjectAtDB:

services/director-v2/tests/unit/with_dbs/test_modules_db_repositories_projects.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@ def workbench() -> dict[str, Any]:
7272
async def project(
7373
mock_env: EnvVarsDict,
7474
create_registered_user: Callable[..., dict],
75+
product_db: dict[str, Any],
7576
project: Callable[..., Awaitable[ProjectAtDB]],
7677
workbench: dict[str, Any],
7778
) -> ProjectAtDB:

services/director-v2/tests/unit/with_dbs/test_utils_rabbitmq.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ async def project(
8888
user: dict[str, Any],
8989
fake_workbench_without_outputs: dict[str, Any],
9090
project: Callable[..., Awaitable[ProjectAtDB]],
91+
product_db: dict[str, Any],
9192
) -> ProjectAtDB:
9293
return await project(user, workbench=fake_workbench_without_outputs)
9394

0 commit comments

Comments
 (0)