5 from launch
import LaunchDescription
6 from launch_ros.actions
import Node
7 from launch_testing.util
import KeepAliveProc
12 sys.path.append(os.path.dirname(__file__))
13 from common_parameters
import load_moveit_config
23 unittest_planning_context_loaders = Node(
24 package=
"pilz_industrial_motion_planner",
25 executable=
"unittest_planning_context_loaders",
26 name=
"unittest_planning_context_loaders",
28 test_config.to_dict(),
35 unittest_planning_context_loaders,
37 launch_testing.actions.ReadyToTest(),
40 {
"unittest_planning_context_loaders": unittest_planning_context_loaders},
46 proc_info.assertWaitForShutdown(
47 process=unittest_planning_context_loaders, timeout=4000.0
51 @launch_testing.post_shutdown_test()
54 launch_testing.asserts.assertExitCodes(
55 proc_info, process=unittest_planning_context_loaders
def test_exit_codes(self, proc_info, unittest_planning_context_loaders)
def test_gtest_run_complete(self, proc_info, unittest_planning_context_loaders)
def generate_test_description()