From cc5c6231796f4894cca36850d03169f1cc6b9e6d Mon Sep 17 00:00:00 2001 From: Remi Cadene Date: Fri, 27 Sep 2024 17:12:40 +0200 Subject: [PATCH] test --- .github/workflows/test.yml | 2 +- tests/test_motors.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0eba0c260..d331188e1 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -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 \ diff --git a/tests/test_motors.py b/tests/test_motors.py index f3f5650cf..672234071 100644 --- a/tests/test_motors.py +++ b/tests/test_motors.py @@ -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")