diff --git a/tests/test_motors.py b/tests/test_motors.py index 55f2f113a..cb416989f 100644 --- a/tests/test_motors.py +++ b/tests/test_motors.py @@ -59,18 +59,18 @@ def make_motors_bus(motor_type: str, **kwargs) -> MotorsBus: # TODO(rcadene): implement mocked version of this test -@pytest.mark.parametrize("motor_type", available_motors) +@pytest.mark.parametrize("motor_type, mock", [(m, False) for m in available_motors]) @require_motor -def test_find_port(request, motor_type, mock=False): +def test_find_port(request, motor_type, mock): from lerobot.common.robot_devices.motors.dynamixel import find_port find_port() # TODO(rcadene): implement mocked version of this test -@pytest.mark.parametrize("motor_type", available_motors) +@pytest.mark.parametrize("motor_type, mock", [(m, False) for m in available_motors]) @require_motor -def test_configure_motors_all_ids_1(request, motor_type, mock=False): +def test_configure_motors_all_ids_1(request, motor_type, mock): input("Are you sure you want to re-configure the motors? Press enter to continue...") # This test expect the configuration was already correct. motors_bus = make_motors_bus(motor_type)