From 6ed71873b58b72580b96f89f189ed249be619d94 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Wed, 11 Feb 2026 23:00:42 -0500 Subject: [PATCH] Fix line length in test_gmcp.py --- tests/test_gmcp.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/tests/test_gmcp.py b/tests/test_gmcp.py index c3ffa41..a661588 100644 --- a/tests/test_gmcp.py +++ b/tests/test_gmcp.py @@ -430,10 +430,14 @@ async def test_char_status_sent_on_combat_end(): # Both players should have received Char.Status (after Char.Vitals) # Check that Char.Status was called at least once attacker_calls = [ - call for call in mock_writer_1.send_gmcp.call_args_list if call[0][0] == "Char.Status" + call + for call in mock_writer_1.send_gmcp.call_args_list + if call[0][0] == "Char.Status" ] defender_calls = [ - call for call in mock_writer_2.send_gmcp.call_args_list if call[0][0] == "Char.Status" + call + for call in mock_writer_2.send_gmcp.call_args_list + if call[0][0] == "Char.Status" ] assert len(attacker_calls) >= 1, "Attacker should receive Char.Status on combat end" @@ -459,7 +463,9 @@ async def test_char_status_sent_on_rest_start(player): # Check that Char.Status was sent status_calls = [ - call for call in player.writer.send_gmcp.call_args_list if call[0][0] == "Char.Status" + call + for call in player.writer.send_gmcp.call_args_list + if call[0][0] == "Char.Status" ] assert len(status_calls) == 1 assert status_calls[0][0][1]["resting"] is True @@ -477,7 +483,9 @@ async def test_char_status_sent_on_rest_complete(player): # Check that Char.Status was sent status_calls = [ - call for call in player.writer.send_gmcp.call_args_list if call[0][0] == "Char.Status" + call + for call in player.writer.send_gmcp.call_args_list + if call[0][0] == "Char.Status" ] assert len(status_calls) == 1 assert status_calls[0][0][1]["resting"] is False