49 unittest.TestCase.setUp(self)
54 unittest.TestCase.tearDown(self)
59 Not a very good test because the right answer that is hardcoded varies
60 depending on the system where this unittest runs.
63 for pkg
in RqtRoscommUtil.iterate_packages(
'launch'):
65 print(
'pkg={}'.format(pkg))
72 Not a very good test because the right answer that is hardcoded varies
73 depending on the system where this unittest runs.
76 pkg_name =
'pr2_moveit_config'
77 _totalnum_launches_pkg_contains = 15
80 files = RqtRoscommUtil.list_files(pkg_name, subdir, file_ext)
83 print(
'file={}'.format(file))
86 self.assertEqual(file_num, _totalnum_launches_pkg_contains)
89 if __name__ ==
'__main__':