From ca72668e4f4fb44d2e58e5c9688a5800b501d021 Mon Sep 17 00:00:00 2001 From: Vincent Rabaud Date: Sat, 9 May 2015 09:58:00 +0200 Subject: [PATCH] add proper rosunit dependency --- package.xml | 2 ++ test/doc_opencv.py | 4 ++-- test/test_image_saver.py | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/package.xml b/package.xml index 34c692c..66bf344 100644 --- a/package.xml +++ b/package.xml @@ -19,5 +19,7 @@ opencv_candidate cv_backports + unittest + catkin diff --git a/test/doc_opencv.py b/test/doc_opencv.py index 23a4523..71eed6f 100755 --- a/test/doc_opencv.py +++ b/test/doc_opencv.py @@ -14,5 +14,5 @@ def test_list_modules(self): ecto.list_ecto_module(imgproc) if __name__ == '__main__': - import rostest - rostest.rosrun('ecto_opencv', 'test_ecto_opencv', TestListModules) + import rosunit + rosunit.rosrun('ecto_opencv', 'test_ecto_opencv', TestListModules) diff --git a/test/test_image_saver.py b/test/test_image_saver.py index efd0653..a4e0355 100755 --- a/test/test_image_saver.py +++ b/test/test_image_saver.py @@ -27,5 +27,5 @@ def test_image_saver(self): os.remove('img_00000.png') if __name__ == '__main__': - import rostest - rostest.rosrun('ecto_opencv', 'test_image_saver', TestImageSaver) + import rosunit + rosunit.unitrun('ecto_opencv', 'test_image_saver', TestImageSaver)