Skip to content

Commit a1fc640

Browse files
WIP: Test MJCF descriptions with Pinocchio
1 parent fbdf06a commit a1fc640

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

tests/loaders/test_pinocchio.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111

1212

1313
class TestPinocchio(unittest.TestCase):
14-
1514
"""
1615
Check that all descriptions are loaded properly in Pinocchio.
1716
"""
@@ -34,11 +33,10 @@ def test(self):
3433
return test
3534

3635

37-
# Add a test function for each URDF description
36+
# Add a test function for each description
3837
for name, description in DESCRIPTIONS.items():
39-
if description.has_urdf:
40-
setattr(
41-
TestPinocchio,
42-
f"test_{name}",
43-
TestPinocchio.get_test_for_description(name),
44-
)
38+
setattr(
39+
TestPinocchio,
40+
f"test_{name}",
41+
TestPinocchio.get_test_for_description(name),
42+
)

0 commit comments

Comments
 (0)