feat(bridge): add wifi/serial bridge runtime and UI
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -28,6 +28,22 @@ def _patch_delivery(monkeypatch):
|
||||
return delivered
|
||||
|
||||
|
||||
def test_reset_manual_lane_strides_zeros_counters():
|
||||
bdr.set_sequence_manual_lane_route(
|
||||
0,
|
||||
["desk"],
|
||||
"5",
|
||||
{"p": "chase", "a": False, "manual_beat_n": 1},
|
||||
)
|
||||
with bdr._route_lock:
|
||||
bdr._lane_manual[0]["beat_counter"] = 4
|
||||
bdr._preset_session_beats = 3
|
||||
bdr.reset_manual_lane_strides()
|
||||
with bdr._route_lock:
|
||||
assert bdr._lane_manual[0]["beat_counter"] == 0
|
||||
assert bdr._preset_session_beats == 0
|
||||
|
||||
|
||||
def test_suppress_next_notify_skips_one_select(monkeypatch):
|
||||
delivered = _patch_delivery(monkeypatch)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user