Skip to content

Commit 42f3e7a

Browse files
committed
moved fixtures and helpers to pytest-simcore
1 parent d55022a commit 42f3e7a

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

packages/pytest-simcore/src/pytest_simcore/simcore_storage_data_models.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
from contextlib import asynccontextmanager
88
from pathlib import Path
99
from random import choice, randint
10-
from typing import Any, TypedDict, cast
10+
from typing import Any, cast
1111

1212
import pytest
1313
import sqlalchemy as sa
@@ -259,11 +259,6 @@ async def _creator(
259259
return _creator
260260

261261

262-
class FileIDDict(TypedDict):
263-
path: Path
264-
sha256_checksum: SHA256Str
265-
266-
267262
async def _upload_file_and_update_project(
268263
project_id: ProjectID,
269264
node_id: NodeID,

services/storage/tests/unit/test_handlers_paths.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@
1818
from models_library.users import UserID
1919
from pytest_simcore.helpers.fastapi import url_from_operation_id
2020
from pytest_simcore.helpers.httpx_assert_checks import assert_status
21+
from pytest_simcore.helpers.storage_utils import FileIDDict
2122
from servicelib.aiohttp import status
22-
from tests.fixtures.data_models import FileIDDict
2323

2424
pytest_simcore_core_services_selection = ["postgres"]
2525
pytest_simcore_ops_services_selection = ["adminer"]

0 commit comments

Comments
 (0)