From 83cfe60783f4b9ecc6bc25a4bf4a499fd3b5c426 Mon Sep 17 00:00:00 2001 From: Remi Cadene Date: Fri, 27 Sep 2024 17:46:49 +0200 Subject: [PATCH] tests --- .github/workflows/test.yml | 2 +- tests/test_robots.py | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cdb39742e..953b1e4c3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -56,7 +56,7 @@ jobs: - name: Test with pytest run: | - pytest tests/test_cameras.py tests/test_motors.py tests/test_control_robot.py tests/test_robots.py -v --cov=./lerobot --durations=0 \ + pytest tests -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_robots.py b/tests/test_robots.py index 0b33d8ea3..93c1a1fe6 100644 --- a/tests/test_robots.py +++ b/tests/test_robots.py @@ -44,8 +44,6 @@ def test_robot(tmpdir, request, robot_type, mock): # To simplify unit test, we do not rerun manual calibration for Aloha mock=True. # Instead, we use the files from '.cache/calibration/aloha_default' overrides_calibration_dir = None - - assert Path(".cache/calibration/aloha_default/left_follower.json").exists() else: if mock: request.getfixturevalue("patch_builtins_input")