@@ -62,24 +62,25 @@ def test_remappings(sut):
6262 assert set (state .publishers ['/funkybits' ]) == {'/gazebo' }
6363
6464
65-
65+ @ pytest . mark . skip ( reason = 'ROS2 is not fully supported' )
6666@pytest .mark .parametrize ('sut' , ['turtlebot3-ros2' ], indirect = True )
6767def test_locate_with_package_ros2 (sut ):
6868 actual_path = sut .ros2 .launch .locate ('cartographer.launch.py' , package = 'turtlebot3_cartographer' )
6969 expected_path = '/ros_ws/install/turtlebot3_cartographer/share/launch/cartographer.launch.py'
7070 assert actual_path == expected_path
7171
7272
73+ @pytest .mark .skip (reason = 'ROS2 is not fully supported' )
7374@pytest .mark .parametrize ('sut' , ['turtlebot3-ros2' ], indirect = True )
7475def test_launch_ros2 (sut ):
7576 actual_controller_command = sut .ros2 .launch .launch ('cartographer.launch.py' , package = 'turtlebot3_cartographer' ).popen .args
7677 expected_controller_command = 'ros2 launch turtlebot3_cartographer cartographer.launch.py'
7778 assert actual_controller_command == expected_controller_command
7879
7980
81+ @pytest .mark .skip (reason = 'ROS2 is not fully supported' )
8082@pytest .mark .parametrize ('sut' , ['turtlebot3-ros2' ], indirect = True )
8183def test_launch_with_full_path (sut ):
8284 actual_controller_command = sut .ros2 .launch .launch ('/ros_ws/src/turtlebot3/turtlebot3_cartographer/launch/cartographer.launch.py' , package = 'turtlebot3_cartographer' ).popen .args
8385 expected_controller_command = 'ros2 launch turtlebot3_cartographer cartographer.launch.py'
8486 assert actual_controller_command == expected_controller_command
85-
0 commit comments