test: drop the last check of the old operator assignment on machines
All checks were successful
Build and deploy / Validate source (push) Successful in 4s
Build and deploy / Integration suite on a real stack (push) Successful in 3m48s
Build and deploy / Secret scan and release gate (push) Successful in 5s
Build and deploy / Publish images (push) Successful in 1m7s

Who is on a machine now comes from the sessions (item 12); the machine
form no longer carries operators, so "left out, they stay" is gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Cauê Faleiros
2026-10-30 13:22:39 -03:00
parent db877c52e6
commit ea3b2b29d1

View File

@@ -350,8 +350,6 @@ def run():
'limit_metres': round(open_now + 0.5, 1)})
listed = {m['id']: m for m in su.call('/operator/machines', operator=True)['machines']}
assert listed[textil2]['limit_metres'] == round(open_now + 0.5, 1)
# Left out, the operators stay as they were.
assert [o['id'] for o in listed[textil2]['operators']] == [op_id]
target = expected_machine(su, 'textil')
assert target != textil2
with db.connect() as c: