Skip to content

Commit

Permalink
fix operation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bleepbop committed Oct 13, 2023
1 parent 2f409d9 commit 5b3610e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/objects/test_operation.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5b3610e

Please sign in to comment.