Skip to content

Commit

Permalink
Fix megalinter format error
Browse files Browse the repository at this point in the history
  • Loading branch information
stveit committed Aug 29, 2024
1 parent 82f94ca commit 5aaa9bb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/trapobservers/link_traps_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,9 +119,7 @@ async def test_when_link_trap_refers_to_unknown_port_it_should_ignore_trap_early
assert not await observer.handle_trap(trap)
assert not handle_link_transition.called, "handle_link_transition was called"

async def test_when_event_is_new_it_should_set_lasttrans(
self, state_with_localhost_with_port, localhost_receiver
):
async def test_when_event_is_new_it_should_set_lasttrans(self, state_with_localhost_with_port, localhost_receiver):
assert not state_with_localhost_with_port.events.get(
"localhost", 1, PortStateEvent
), "initial state should be empty"
Expand Down

0 comments on commit 5aaa9bb

Please sign in to comment.