Skip to content

Commit 710679e

Browse files
author
Andrei Neagu
committed
fixed broken tests
1 parent e125237 commit 710679e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

services/web/server/tests/unit/with_dbs/02/test_projects_cancellations.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
import asyncio
77
from collections.abc import Awaitable, Callable
88
from typing import Any
9+
from unittest.mock import MagicMock
910
from urllib.parse import urlparse
1011

1112
import pytest
@@ -88,6 +89,7 @@ async def test_copying_large_project_and_aborting_correctly_removes_new_project(
8889
catalog_subsystem_mock: Callable[[list[ProjectDict]], None],
8990
slow_storage_subsystem_mock: MockedStorageSubsystem,
9091
project_db_cleaner: None,
92+
mocked_director_v2_api: dict[str, MagicMock],
9193
):
9294
assert client.app
9395
catalog_subsystem_mock([user_project])
@@ -140,6 +142,7 @@ async def test_copying_large_project_and_retrieving_copy_task(
140142
catalog_subsystem_mock: Callable[[list[ProjectDict]], None],
141143
slow_storage_subsystem_mock: MockedStorageSubsystem,
142144
project_db_cleaner: None,
145+
mocked_director_v2_api: dict[str, MagicMock],
143146
):
144147
assert client.app
145148
catalog_subsystem_mock([user_project])

0 commit comments

Comments
 (0)