diff --git a/unittests/tools/test_noseyparker_parser.py b/unittests/tools/test_noseyparker_parser.py index 714e8a4fa7b..09ee36eb466 100644 --- a/unittests/tools/test_noseyparker_parser.py +++ b/unittests/tools/test_noseyparker_parser.py @@ -43,3 +43,10 @@ def test_noseyparker_parser_error(self): "Invalid Nosey Parker data, make sure to use Nosey Parker v0.16.0", str(context.exception), ) self.assertIn("ECONNREFUSED", str(context.exception)) + + def test_noseyparker_version_0_22_0(self): + with open("unittests/scans/noseyparker/noseyparker_0_22_0.jsonl", encoding="utf-8") as testfile: + parser = NoseyParkerParser() + findings = parser.get_findings(testfile, Test()) + finding = findings[0] + self.assertEqual("Critical", finding.severity)