fix(tests) fixes for reachy2 tests; removing reachy2 references from the script

This commit is contained in:
Michel Aractingi
2025-09-04 23:57:15 +02:00
parent 10c66a2459
commit e099fc7b23
5 changed files with 7 additions and 2 deletions
+2
View File
@@ -23,6 +23,8 @@ import pytest
from lerobot.cameras.reachy2_camera import Reachy2Camera, Reachy2CameraConfig
from lerobot.errors import DeviceNotConnectedError
pytest.importorskip("reachy2_sdk")
PARAMS = [
("teleop", "left"),
("teleop", "right"),
+2
View File
@@ -51,6 +51,8 @@ PARAMS = [
{"with_left_teleop_camera": False, "with_torso_camera": True},
]
pytest.importorskip("reachy2_sdk")
def _make_reachy2_sdk_mock():
class JointSpy:
@@ -28,6 +28,8 @@ from lerobot.teleoperators.reachy2_teleoperator import (
Reachy2TeleoperatorConfig,
)
pytest.importorskip("reachy2_sdk")
# {lerobot_keys: reachy2_sdk_keys}
REACHY2_JOINTS = {
**REACHY2_NECK_JOINTS,