Skip to content

Commit 58f0c0c

Browse files
committed
Removed dependency on nose
1 parent 780ef66 commit 58f0c0c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

Diff for: CMakeLists.txt

+6-6
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ ament_python_install_package(${PROJECT_NAME})
1111

1212
if(BUILD_TESTING)
1313
find_package(rclpy REQUIRED)
14-
find_package(ament_cmake_nose REQUIRED)
14+
find_package(ament_cmake_pytest REQUIRED)
1515

16-
ament_add_nose_test(pointclouds test/test_pointclouds.py)
17-
ament_add_nose_test(images test/test_images.py)
18-
ament_add_nose_test(occupancygrids test/test_occupancygrids.py)
19-
ament_add_nose_test(geometry test/test_geometry.py)
20-
ament_add_nose_test(quaternions test/test_quat.py)
16+
ament_add_pytest_test(pointclouds test/test_pointclouds.py)
17+
ament_add_pytest_test(images test/test_images.py)
18+
ament_add_pytest_test(occupancygrids test/test_occupancygrids.py)
19+
ament_add_pytest_test(geometry test/test_geometry.py)
20+
ament_add_pytest_test(quaternions test/test_quat.py)
2121
endif()
2222

2323
##############

Diff for: package.xml

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525

2626
<buildtool_depend>ament_cmake_python</buildtool_depend>
2727

28-
<test_depend>ament_cmake_nose</test_depend>
29-
<test_depend>python3-nose</test_depend>
28+
<test_depend>ament_cmake_pytest</test_depend>
29+
<test_depend>python3-pytest</test_depend>
3030
<test_depend>rclpy</test_depend>
3131

3232
<export>

0 commit comments

Comments
 (0)