Skip to content

Commit 080e0b7

Browse files
committed
Fix metadata test
1 parent c052b3f commit 080e0b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_solver.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ def test_schedule_single_task_single_resource_metadata() -> None:
144144
# task should have been scheduled with start at 0
145145
# and end at 2
146146
task_solution = solution.tasks[task.name]
147-
resource_solution = solution.resources[resource.name]
147+
resource_solution = solution.resources[worker.name]
148148

149149
assert task_solution.start == 0
150150
assert task_solution.end == 7

0 commit comments

Comments
 (0)