From 5aaa9bbf6ad1109e1aaa2a70978b023b2d4a3128 Mon Sep 17 00:00:00 2001 From: Simon Oliver Tveit Date: Thu, 29 Aug 2024 13:44:04 +0200 Subject: [PATCH] Fix megalinter format error --- tests/trapobservers/link_traps_test.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/trapobservers/link_traps_test.py b/tests/trapobservers/link_traps_test.py index f747eb2d..94559776 100644 --- a/tests/trapobservers/link_traps_test.py +++ b/tests/trapobservers/link_traps_test.py @@ -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"