diff --git a/scripts/pylib/twister/twisterlib/harness.py b/scripts/pylib/twister/twisterlib/harness.py index 2158430dd5e..0c45e43573e 100644 --- a/scripts/pylib/twister/twisterlib/harness.py +++ b/scripts/pylib/twister/twisterlib/harness.py @@ -348,7 +348,7 @@ def generate_command(self): elif handler.type_str == 'build': command.append('--device-type=custom') else: - raise PytestHarnessException(f'Handling of handler {handler.type_str} not implemented yet') + raise PytestHarnessException(f'Support for handler {handler.type_str} not implemented yet') if handler.options.pytest_args: command.extend(handler.options.pytest_args) diff --git a/scripts/tests/twister/test_harness.py b/scripts/tests/twister/test_harness.py index f117a77e3f5..cdf82439fba 100644 --- a/scripts/tests/twister/test_harness.py +++ b/scripts/tests/twister/test_harness.py @@ -355,7 +355,7 @@ def test_pytest_run(caplog): # Arrange timeout = 10 cmd=['command'] - exp_out = 'Handling of handler handler_type not implemented yet' + exp_out = 'Support for handler handler_type not implemented yet' harness = Pytest() harness = mock.create_autospec(harness)