Skip to content

Commit

Permalink
Use 1 indent for the dict
Browse files Browse the repository at this point in the history
  • Loading branch information
JokeWaumans committed Aug 19, 2024
1 parent 7206240 commit 17750dc
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions tests/test_coverity.py
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,12 @@ def test_get_filtered_defects(self):
sphinx_coverity_connector = mlx.coverity.SphinxCoverityConnector()
sphinx_coverity_connector.coverity_service = coverity_service
sphinx_coverity_connector.stream = self.fake_stream
node_filters = {'checker': 'MISRA', 'impact': None, 'kind': None,
'classification': 'Intentional,Bug,Pending,Unclassified', 'action': None,
'component': None, 'cwe': None, 'cid': None}
column_names = {'Comment', 'Checker', 'Classification', 'CID'}
node_filters = {
'checker': 'MISRA', 'impact': None, 'kind': None,
'classification': 'Intentional,Bug,Pending,Unclassified', 'action': None, 'component': None,
'cwe': None, 'cid': None
}
column_names = {'Comment', 'Checker', 'Classification', 'CID'}
fake_node = {"col": column_names,
"filters": node_filters}
defects = sphinx_coverity_connector.get_filtered_defects(fake_node)
Expand Down

0 comments on commit 17750dc

Please sign in to comment.