From ea3b2b29d13924fc130dc582a9788de0db924f02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cau=C3=AA=20Faleiros?= Date: Fri, 30 Oct 2026 13:22:39 -0300 Subject: [PATCH] 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 --- tests/users_test.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tests/users_test.py b/tests/users_test.py index ed92e7b..5c561b5 100644 --- a/tests/users_test.py +++ b/tests/users_test.py @@ -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: