Skip to content

Commit cd0f24d

Browse files
sysdig: reorganize files to make test parsers happy
1 parent 6cb0274 commit cd0f24d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

unittests/test_parsers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ def test_file_existence(self):
4949
f"Documentation file '{doc_file}' does not contain https://github.com/DefectDojo/django-DefectDojo/tree/master/unittests/scans",
5050
)
5151

52-
if parser_dir.name not in { # noqa: FURB171
52+
if parser_dir.name not in {
5353
"wizcli_common_parsers", # common class for other wizcli parsers
54-
"sysdig_common", #common classes for sysdig parsers
54+
"sysdig_common", # common classes for sysdig parsers
5555
}:
5656
with self.subTest(parser=parser_dir.name, category="parser"):
5757
parser_test_file = Path(basedir) / "unittests" / "tools" / f"test_{parser_dir.name}_parser.py"
@@ -63,6 +63,7 @@ def test_file_existence(self):
6363
if parser_dir.name not in {
6464
"vcg", # content of the sample report is string the directly in unittest
6565
"wizcli_common_parsers", # common class for other wizcli parsers
66+
"sysdig_common", # common classes for sysdig parsers
6667
}:
6768
with self.subTest(parser=parser_dir.name, category="testfiles"):
6869
scan_dir = Path(basedir) / "unittests" / "scans" / parser_dir.name

0 commit comments

Comments
 (0)