Skip to content

Commit 413f4dc

Browse files
fix: test
1 parent cc86d53 commit 413f4dc

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

services/web/server/tests/integration/01/test_computation.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,16 +321,16 @@ async def _assert_and_wait_for_comp_task_states_to_be_transmitted_in_projects(
321321

322322
# if this one is in, the other should also be but let's check it carefully
323323
assert node_values.run_hash
324-
assert "runHash" in node_in_project_table
325-
assert node_values.run_hash == node_in_project_table["runHash"]
324+
assert "run_hash" in node_in_project_table
325+
assert node_values.run_hash == node_in_project_table["run_hash"]
326326

327327
assert node_values.state
328328
assert "state" in node_in_project_table
329-
assert "currentStatus" in node_in_project_table["state"]
329+
assert "current_status" in node_in_project_table["state"]
330330
# NOTE: beware that the comp_tasks has StateType and Workbench has RunningState (sic)
331331
assert (
332332
DB_TO_RUNNING_STATE[node_values.state].value
333-
== node_in_project_table["state"]["currentStatus"]
333+
== node_in_project_table["state"]["current_status"]
334334
)
335335
print(
336336
"--> tasks were properly transferred! "

0 commit comments

Comments
 (0)