Skip to content

Commit

Permalink
Update analyzer/tests/unit/test_checker_handling.py
Browse files Browse the repository at this point in the history
Co-authored-by: Kristóf Umann <dkszelethus@gmail.com>
  • Loading branch information
noraz31 and Szelethus authored Apr 11, 2024
1 parent 11dc7da commit a529225
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions analyzer/tests/unit/test_checker_handling.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit a529225

Please sign in to comment.