3 from __future__
import print_function
11 PKGNAME =
"moveit_ros_planning_interface"
12 NODENAME =
"moveit_cleanup_tests"
21 super(CleanupTest, self).
__init__(*args, **kwargs)
27 if subprocess.call(cmd) != 0:
29 self.assertEqual(failures, 0,
"%d of %d runs failed" % (failures, num))
33 roslib.packages.find_node(PKGNAME,
"test_cleanup.py", self.
_rospack)
37 self.
run_cmd(roslib.packages.find_node(PKGNAME,
"test_cleanup", self.
_rospack))
40 if __name__ ==
"__main__":
41 rostest.rosrun(PKGNAME, NODENAME, CleanupTest)