From a529225cfee407ffc05a1a0c459adc4c2c8221e4 Mon Sep 17 00:00:00 2001 From: Nora Zn Date: Thu, 11 Apr 2024 10:04:14 +0200 Subject: [PATCH] Update analyzer/tests/unit/test_checker_handling.py MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Kristóf Umann --- analyzer/tests/unit/test_checker_handling.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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): """