Skip to content

Commit

Permalink
add proper rosunit dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed May 9, 2015
1 parent 8c792ce commit ca72668
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,7 @@
<run_depend>opencv_candidate</run_depend>
<run_depend>cv_backports</run_depend>

<test_depend>unittest</test_depend>

<buildtool_depend>catkin</buildtool_depend>
</package>
4 changes: 2 additions & 2 deletions test/doc_opencv.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
4 changes: 2 additions & 2 deletions test/test_image_saver.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit ca72668

Please sign in to comment.