Skip to content

Commit 23dde71

Browse files
committed
fixing tests
1 parent 3180017 commit 23dde71

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

services/dask-sidecar/tests/unit/test_tasks.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,7 @@ def _creator(command: list[str] | None = None) -> ServiceExampleParam:
414414

415415
@pytest.fixture()
416416
def failing_ubuntu_task(
417-
sidecar_task: Callable[..., ServiceExampleParam]
417+
sidecar_task: Callable[..., ServiceExampleParam],
418418
) -> ServiceExampleParam:
419419
return sidecar_task(command=["/bin/bash", "-c", "some stupid failing command"])
420420

@@ -444,7 +444,7 @@ def mocked_get_image_labels(
444444
) -> mock.Mock:
445445
assert "json_schema_extra" in ServiceMetaDataPublished.model_config
446446
labels: ImageLabels = TypeAdapter(ImageLabels).validate_python(
447-
ServiceMetaDataPublished.model_config["json_schema_extra"]["examples"][0],
447+
ServiceMetaDataPublished.model_json_schema()["examples"][0],
448448
)
449449
labels.integration_version = f"{integration_version}"
450450
return mocker.patch(

services/web/server/src/simcore_service_webserver/db_listener/_db_comp_tasks_listening_task.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
from aiohttp import web
1414
from aiopg.sa import Engine
1515
from aiopg.sa.connection import SAConnection
16-
from commontypes.json_serialization import json_loads
16+
from common_types.json_serialization import json_loads
1717
from models_library.errors import ErrorDict
1818
from models_library.projects import ProjectID
1919
from models_library.projects_nodes_io import NodeID

0 commit comments

Comments
 (0)