launch_testing_ros.tools package

Submodules

Module contents

launch_testing_ros.tools.basic_output_filter(filtered_prefixes=None, filtered_patterns=None, filtered_rmw_implementation=None)

Create a line filtering function to help output testing.

Parameters:
  • filtered_prefixes – A list of byte strings representing prefixes that will cause output lines to be ignored if they start with one of the prefixes. By default lines starting with the process ID (b’pid’) and return code (b’rc’) will be ignored.

  • filtered_patterns – A list of byte strings representing regexes that will cause output lines to be ignored if they match one of the regexes.

  • filtered_rmw_implementation – RMW implementation for which the output will be ignored in addition to the filtered_prefixes/filtered_patterns.