Skip to content

Commit 7777fe4

Browse files
Fix Mock backend test parametrization
Exclude the Mock backend case-insensitively from cache tests that only apply to solver-backed articulation implementations.
1 parent 044ae32 commit 7777fe4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

source/isaaclab/test/assets/test_articulation_iface.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,9 @@ def test_find_joints_single(self, backend, num_instances, num_joints, num_bodies
237237
# ---------------------------------------------------------------------------
238238

239239

240-
_non_mock_backends = pytest.mark.parametrize("backend", [b for b in BACKENDS if b != "mock"], indirect=False)
240+
_non_mock_backends = pytest.mark.parametrize(
241+
"backend", [backend for backend in BACKENDS if backend.lower() != "mock"], indirect=False
242+
)
241243

242244

243245
class TestResolveMatchingNamesCache:

0 commit comments

Comments
 (0)