Fixed a typo in tests/unit/test_hardware_speech_drivers.py. It was reading 9 bytes while comparing against a 10-byte payload. Thanks Samuel Thibault for finding and pointing this out.

This commit is contained in:
Storm Dragon
2026-06-27 16:59:05 -04:00
parent ad863ad706
commit eb93a8aa62
+1 -1
View File
@@ -99,7 +99,7 @@ def test_litetalk_driver_writes_settings_and_cancel(serial_pair):
speech_driver.set_pitch(0.0)
speech_driver.set_volume(0.5)
speech_driver.cancel()
assert read_available(master_fd, 9) == b"\x019S\x010P\x014V\x18"
assert read_available(master_fd, 10) == b"\x019S\x010P\x014V\x18"
finally:
speech_driver.shutdown()