Skip to content

Commit e5e1813

Browse files
continue fixing
1 parent eae2216 commit e5e1813

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
import pytest
1515
from faker import Faker
1616
from models_library.projects import ProjectAtDB
17-
from models_library.projects_nodes_io import NodeIDStr
1817
from models_library.projects_state import RunningState
1918
from models_library.rabbitmq_messages import (
2019
InstrumentationRabbitMessage,
@@ -195,9 +194,7 @@ async def test_publish_service_resource_tracking_started(
195194
project_id=project.uuid,
196195
project_name=project.name,
197196
node_id=random_task.node_id,
198-
node_name=fake_workbench_without_outputs[
199-
NodeIDStr(f"{random_task.node_id}")
200-
].label,
197+
node_name=fake_workbench_without_outputs[f"{random_task.node_id}"]["label"],
201198
parent_project_id=None,
202199
parent_node_id=None,
203200
root_parent_project_id=None,

0 commit comments

Comments
 (0)