Files
livekit-cameras/tests/test_config.py
T
Hermes 628307ff12 test: lock speechbrain lengths and identity camera filter
Filter --cameras 1,5 by cam-NN identity instead of discovery index.
2026-08-28 05:15:49 +00:00

8 lines
210 B
Python

from config import _parse_cameras
def test_parse_cameras_list():
assert _parse_cameras("1,5") == ["1", "5"]
assert _parse_cameras("all") == ["all"]
assert _parse_cameras("1-3") == ["1", "2", "3"]