From 17750dca53e4dc6cd467759e8c19be5aca0441e8 Mon Sep 17 00:00:00 2001 From: JWM Date: Mon, 19 Aug 2024 08:57:32 +0200 Subject: [PATCH] Use 1 indent for the dict --- tests/test_coverity.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/tests/test_coverity.py b/tests/test_coverity.py index 500a73e..c0d8987 100644 --- a/tests/test_coverity.py +++ b/tests/test_coverity.py @@ -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)