diff --git a/tests/test_payload.py b/tests/test_payload.py index 2da94f9..12dbdf7 100644 --- a/tests/test_payload.py +++ b/tests/test_payload.py @@ -31,6 +31,8 @@ def test_allow_valid_json() -> None: {"state": {"reported": {"signal": {"rssi": -45, "snr": 18, "noise": -63}}}} """ decoded = { - "state": {"reported": {"signal": {"rssi": -45, "snr": 18, "noise": -63}}} + "state": { + "reported": {"signal": {"rssi": -45, "snr": 18, "noise": -63}} + } } assert _decode_payload(payload) == decoded diff --git a/tests/test_roomba.py b/tests/test_roomba.py index 54275d3..036d27a 100644 --- a/tests/test_roomba.py +++ b/tests/test_roomba.py @@ -6,7 +6,9 @@ from tests.conftest import as_message -def test_roomba_with_data(roomba: Roomba, empty_mqtt_client: mqtt.Client) -> None: +def test_roomba_with_data( + roomba: Roomba, empty_mqtt_client: mqtt.Client +) -> None: """Test Roomba with data.""" roomba.on_message( empty_mqtt_client, diff --git a/tests/test_roomba_integration.py b/tests/test_roomba_integration.py index c429a0c..813bfc5 100644 --- a/tests/test_roomba_integration.py +++ b/tests/test_roomba_integration.py @@ -8,7 +8,9 @@ @pytest.mark.asyncio -async def test_roomba_connect(roomba: Roomba, event_loop: BaseEventLoop) -> None: +async def test_roomba_connect( + roomba: Roomba, event_loop: BaseEventLoop +) -> None: """Connect to the Roomba.""" is_connected = await roomba_connect(roomba, event_loop) await roomba_disconnect(roomba, event_loop)