This commit is contained in:
Remi Cadene
2024-09-27 17:12:40 +02:00
parent 88c2ed419e
commit cc5c623179
2 changed files with 3 additions and 3 deletions

View File

@@ -57,7 +57,7 @@ jobs:
- name: Test with pytest
run: |
pytest tests/test_cameras.py tests/test_control_robot.py tests/test_motors.py tests/test_robots.py -v --cov=./lerobot --durations=0 \
pytest tests/test_robots.py -v --cov=./lerobot --durations=0 \
-W ignore::DeprecationWarning:imageio_ffmpeg._utils:7 \
-W ignore::UserWarning:torch.utils.data.dataloader:558 \
-W ignore::UserWarning:gymnasium.utils.env_checker:247 \

View File

@@ -37,7 +37,7 @@ from tests.utils import TEST_MOTOR_TYPES, make_motors_bus, require_motor
@pytest.mark.parametrize("motor_type, mock", TEST_MOTOR_TYPES)
@require_motor
def test_find_port_mock(request, motor_type, mock):
def test_find_port(request, motor_type, mock):
if mock:
request.getfixturevalue("patch_builtins_input")
with pytest.raises(OSError):
@@ -48,7 +48,7 @@ def test_find_port_mock(request, motor_type, mock):
@pytest.mark.parametrize("motor_type, mock", TEST_MOTOR_TYPES)
@require_motor
def test_configure_motors_all_ids_1_mock(request, motor_type, mock):
def test_configure_motors_all_ids_1(request, motor_type, mock):
if mock:
request.getfixturevalue("patch_builtins_input")