Skip to content

Commit df5a687

Browse files
removed redundant test and fixed incorrect path
1 parent 410e31d commit df5a687

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

test/test_roslaunch.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,7 @@ def test_remappings(sut):
6666
@pytest.mark.parametrize('sut', ['turtlebot3-ros2'], indirect=True)
6767
def test_locate_with_package_ros2(sut):
6868
actual_path = sut.ros2.launch.locate('cartographer.launch.py', package='turtlebot3_cartographer')
69-
expected_path = '/ros_ws/src/turtlebot3/turtlebot3_cartographer/launch/cartographer.launch.py'
70-
assert actual_path == expected_path
71-
72-
73-
@pytest.mark.parametrize('sut', ['turtlebot3-ros2'], indirect=True)
74-
def test_locate_without_package_ros2(sut):
75-
actual_path = sut.ros2.launch.locate('/ros_ws/src/turtlebot3/turtlebot3_cartographer/launch/cartographer.launch.py')
76-
expected_path = '/ros_ws/src/turtlebot3/turtlebot3_cartographer/launch/cartographer.launch.py'
69+
expected_path = '/ros_ws/install/turtlebot3_cartographer/share/launch/cartographer.launch.py'
7770
assert actual_path == expected_path
7871

7972

0 commit comments

Comments
 (0)