Skip to content

Commit 8774b3f

Browse files
committed
better test
1 parent 52e13ec commit 8774b3f

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

tests/compas/robots/test_model.py

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -604,19 +604,9 @@ def test_unknown_axis_attribute_data(urdf_with_unknown_attr):
604604
assert r.joints[0].axis.attr['rpy'] == '0 0 0'
605605

606606

607-
def test_get_configurable_joints(urdf_file):
607+
def test_get_configurable_joint_names(urdf_file):
608608
model = RobotModel.from_urdf_file(urdf_file)
609-
expected_joints = [
610-
'panda_joint1',
611-
'panda_joint2',
612-
'panda_joint3',
613-
'panda_joint4',
614-
'panda_joint5',
615-
'panda_joint6',
616-
'panda_joint7',
617-
'panda_finger_joint1',
618-
]
619-
assert model.get_configurable_joint_names() == expected_joints
609+
assert 'panda_finger_joint2' not in model.get_configurable_joint_names()
620610

621611

622612
def test_ensure_geometry(urdf_file, urdf_file_with_shapes_only):

0 commit comments

Comments
 (0)