diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2024-10-20 15:31:42 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2024-10-20 15:31:42 -0400 |
| commit | 31f4567f66f10bf5cdae3cbb26f8bd788a9d8188 (patch) | |
| tree | 488b5ac1cd1883210a70c02b3228850ab0e3048e | |
| parent | Turn off rtd failures on warnings (diff) | |
| download | lirc-31f4567f66f10bf5cdae3cbb26f8bd788a9d8188.zip | |
Fix test
| -rw-r--r-- | tests/test_client.py | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tests/test_client.py b/tests/test_client.py index 152f384..5b0421a 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -87,7 +87,7 @@ def test_that_close_closes_the_socket(mock_client_and_connection): ( "simulate", {"remote": "REMOTE", "key": "KEY"}, - "SIMULATE 0000000000000000 01 KEY REMOTE", + "SIMULATE 0000000000000000 00 KEY REMOTE", ), ( "simulate", @@ -164,6 +164,4 @@ def test_last_send_start_remote_and_key_is_used(mock_client_and_connection): client.send_stop() # SUT - connection._socket.sendall.assert_called_with( - b"SEND_STOP remote key\n" - ) + connection._socket.sendall.assert_called_with(b"SEND_STOP remote key\n") |