Exemplo n.º 1
0
 def setUp(self):
     url = 'localhost:12311'
     channel = remote.get_insecure_channel(url)
     self.fs = fstub.FileStub(channel)
     self.ls = lstub.LaunchStub(channel)
     self.test_include_file = interpret_path("$(find fkie_node_manager_daemon)/tests/resources/include_dummy.launch")
     path = interpret_path("$(find fkie_node_manager_daemon)/../../../build")
     self.test_save_file = "%s/tmp_save_dummy.launch" % path
     self.test_rename_from_file = "%s/tmp_rename_from_dummy.launch" % path
     self.test_rename_to_file = "%s/tmp_rename_to_dummy.launch" % path
Exemplo n.º 2
0
 def get_launch_manager(self, uri='localhost:12321'):
     channel = self.get_insecure_channel(uri)
     return lstub.LaunchStub(channel), channel