diff --git a/tmt/steps/execute/__init__.py b/tmt/steps/execute/__init__.py index c23351f4b2..63d91bad74 100644 --- a/tmt/steps/execute/__init__.py +++ b/tmt/steps/execute/__init__.py @@ -1193,5 +1193,5 @@ def results_for_tests(self, tests: list['tmt.base.Test']) \ ] + [ (None, test) for test in tests - if test.serial_number in referenced_serial_numbers + if test.serial_number not in referenced_serial_numbers ]