Skip to content

Commit

Permalink
Fix bad output filter in logging demo tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Michel Hidalgo <[email protected]>
  • Loading branch information
hidmic committed Apr 15, 2019
1 parent c8585c0 commit 2075775
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions logging_demo/test/test_logging_demo.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,13 @@ class TestLoggingDemo(unittest.TestCase):
proc_output.assertWaitFor(
expected_output=launch_testing.tools.expected_output_from_file(
path='@EXPECTED_OUTPUT_LOGGING_DEMO_MAIN_DEFAULT_SEVERITY@'
), process=process_under_test, output_filter=self.output_filter, timeout=10
), process=process_under_test, output_filter=TestLoggingDemo.output_filter, timeout=30
)

def test_debug_severity(self, proc_output, process_under_test):
"""Test process' output at debug severity."""
proc_output.assertWaitFor(
expected_output=launch_testing.tools.expected_output_from_file(
path='@EXPECTED_OUTPUT_LOGGING_DEMO_MAIN_DEBUG_SEVERITY@'
), process=process_under_test, output_filter=self.output_filter, timeout=10
), process=process_under_test, output_filter=TestLoggingDemo.output_filter, timeout=30
)

0 comments on commit 2075775

Please sign in to comment.