diff --git a/tests/api/legacy_test.py b/tests/api/legacy_test.py index f18ff2b2..1c01f97a 100644 --- a/tests/api/legacy_test.py +++ b/tests/api/legacy_test.py @@ -935,7 +935,6 @@ async def test_should_delete_closed_event(self): assert fake_transport.write.called response = fake_transport.write.call_args[0][0].decode("utf-8") assert response.startswith("200 ") - assert response.startswith("200 ") assert event.id not in protocol._state.events.events.keys() assert not protocol._state.events.get(device_name=DEVICE_NAME, subindex=None, event_class=ReachabilityEvent) assert not protocol._state.events.get_closed_event(