Skip to content

Commit

Permalink
Fix frame names in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Kotochleb committed Oct 30, 2024
1 parent 53d7d02 commit d5e704b
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions happypose_ros/test/test_multi_view_integration.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ def test_07_check_detection(self) -> None:

def test_08_check_not_published_transforms(self) -> None:
self.assertFalse(
self.node.can_transform("cam_1", "cam2"),
self.node.can_transform("cam_1", "cam_2"),
msg="`cam_2` frame_id was was published even thought it shouldn't!",
)

Expand Down Expand Up @@ -251,7 +251,7 @@ def test_10_dynamic_params_change_frame_id(self) -> None:
self.push_data()

self.assertFalse(
self.node.can_transform("cam_1", "cam3"),
self.node.can_transform("cam_1", "cam_3"),
msg="`cam_3` frame_id was was published even thought it shouldn't!",
)
self.assertTrue(
Expand Down Expand Up @@ -283,6 +283,10 @@ def test_11_dynamic_params_change_frame_id_to_empty(self) -> None:

self.push_data()

self.assertFalse(
self.node.can_transform("cam_1", "custom_cam_3_frame_id"),
msg="`custom_cam_3_frame_id` frame_id was was published even thought it shouldn't!",
)
self.assertTrue(
self.node.can_transform("cam_1", "cam_3"),
msg="`cam_3` frame_id was not published!",
Expand Down

0 comments on commit d5e704b

Please sign in to comment.