diff --git a/analyzer/tests/unit/test_checker_handling.py b/analyzer/tests/unit/test_checker_handling.py index 8f127127ae..1abd659710 100644 --- a/analyzer/tests/unit/test_checker_handling.py +++ b/analyzer/tests/unit/test_checker_handling.py @@ -408,10 +408,8 @@ def test_analyze_wrong_parameters(self): analyzer_cfg = [AnalyzerConfig('asd', '123', 'value')] checker_cfg = [CheckerConfig('clangsa', 'asd', '123', 'value')] - analyzer_func = validate_analyzer_parameter(analyzer_cfg) - checker_func = validate_checker_parameter(checker_cfg) - - [self.assertFalse(func) for func in [analyzer_func, checker_func]] + self.assertFalse(validate_analyzer_parameter(analyzer_cfg)) + self.assertFalse(validate_checker_parameter(checker_cfg) def test_enable_all_disable_warning(self): """