Skip to content

Commit ac7f1bf

Browse files
continue fixing
1 parent d20b4ea commit ac7f1bf

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

services/director-v2/tests/unit/with_dbs/comp_scheduler/test_api_route_computations.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -540,8 +540,8 @@ async def test_create_computation_with_wallet(
540540
== len(
541541
[
542542
v
543-
for v in proj.workbench.values()
544-
if to_node_class(v.key) != NodeClass.FRONTEND
543+
for v in fake_workbench_without_outputs.values()
544+
if to_node_class(v["key"]) != NodeClass.FRONTEND
545545
]
546546
)
547547
* 2
@@ -551,7 +551,9 @@ async def test_create_computation_with_wallet(
551551
project_nodes_repo = ProjectNodesRepo(project_uuid=proj.uuid)
552552
for node in await project_nodes_repo.list(connection):
553553
if (
554-
to_node_class(proj.workbench[f"{node.node_id}"].key)
554+
to_node_class(
555+
fake_workbench_without_outputs[f"{node.node_id}"]["key"]
556+
)
555557
!= NodeClass.FRONTEND
556558
):
557559
assert node.required_resources

0 commit comments

Comments
 (0)