37 import roslib; roslib.load_manifest(PKG)
41 from subprocess
import Popen, PIPE
48 cmd = os.path.join(roslib.packages.get_pkg_dir(PKG),
'bin',
'test_publisher_no_initialize')
49 p = Popen([cmd], stdout=PIPE, stderr=PIPE)
51 self.assertEquals(p.returncode, 0)
53 if __name__ ==
"__main__":
55 rosunit.unitrun(PKG,
'test_publisher_no_initialize', TestPublisherNoInitializeTestCase)
def test_no_initialize(self)