Skip to content

Commit 19c1ff6

Browse files
committed
test(collaboration): migrate delegation readiness consumer
Signed-off-by: huangruiteng <14976749+huangruiteng@users.noreply.github.com>
1 parent f9bc89f commit 19c1ff6

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

‎tests/test_turn_machine_credential.py‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,9 @@ def test_delegation_uses_machine_readiness_without_expanding_requesters(tmp_path
113113
)
114114
assert packet["authorized_count"] == count
115115
if count:
116-
assert packet["routes"][0]["readiness"] == "ready"
116+
route = packet["routes"][0]
117+
assert route["runtime_readiness"] == "ready"
118+
assert route["readiness"] == "unknown"
119+
assert packet["preflight"] == "required"
117120
assert KEY not in json.dumps(packet)
118121
assert not provider.operator_provider_store_path(runtime).exists()

0 commit comments

Comments
 (0)