Skip to content

Commit 56f75a6

Browse files
committed
check manifest is not changing unexpectedly when patched - 2
1 parent 448dcb3 commit 56f75a6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

tests/integration/test_rest_routes.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,10 +826,8 @@ async def _after_scan_start_logic(
826826
# wait backlogger to request to ewms
827827
assert int(os.environ["SCAN_BACKLOG_RUNNER_DELAY"])
828828
await asyncio.sleep(int(os.environ["SCAN_BACKLOG_RUNNER_DELAY"]) * 5) # extra
829-
ewms_workflow_id = (await rc.request("GET", f"/scan/{scan_id}/manifest"))[
830-
"ewms_workflow_id"
831-
]
832-
assert RE_UUID4HEX.fullmatch(ewms_workflow_id)
829+
manifest = await rc.request("GET", f"/scan/{scan_id}/manifest")
830+
assert RE_UUID4HEX.fullmatch(manifest["ewms_workflow_id"])
833831

834832
#
835833
# INITIAL UPDATES

0 commit comments

Comments
 (0)