From 5b3610ec9f38e505b91a9bb5961de8d7fe70dc6f Mon Sep 17 00:00:00 2001 From: blee Date: Fri, 13 Oct 2023 13:17:21 -0400 Subject: [PATCH] fix operation tests --- tests/objects/test_operation.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/objects/test_operation.py b/tests/objects/test_operation.py index 65f18923a..d3d4ecc8a 100644 --- a/tests/objects/test_operation.py +++ b/tests/objects/test_operation.py @@ -592,7 +592,7 @@ async def test_add_ignored_link(self, make_test_link, operation_agent): test_agent = operation_agent test_link = make_test_link(9876, test_agent.paw, Link().states['DISCARD']) op = Operation(name='test', agents=[test_agent], state='running') - op.add_ignored_link(test_link) + op.add_ignored_link(test_link.id) assert op.ignored_links - assert test_link in op.ignored_links + assert test_link.id in op.ignored_links assert len(op.ignored_links) == 1