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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user