test: drop the last check of the old operator assignment on machines

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 dc9e336316

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: