firmware: discard partial RS485 echoes
This commit is contained in:
@@ -61,6 +61,7 @@ def test_rs485_echo_cannot_starve_sensor_loop():
|
||||
assert "bytesRemaining" in transport
|
||||
assert "discardCommandUntilNewline" in transport
|
||||
assert 'type == "sensor_status"' in transport
|
||||
assert 'publishCalibrationResult(serial, "invalid_json")' not in transport
|
||||
|
||||
def test_node_does_not_take_cargo_or_ble_authority():
|
||||
combined = "\n".join(p.read_text() for p in NODE.glob("*.*"))
|
||||
|
||||
Reference in New Issue
Block a user