diff --git a/dojo/tools/bearer_cli/parser.py b/dojo/tools/bearer_cli/parser.py index 0aca0bcbe43..4f91bb8632a 100644 --- a/dojo/tools/bearer_cli/parser.py +++ b/dojo/tools/bearer_cli/parser.py @@ -3,7 +3,7 @@ from dojo.models import Finding -class BearerParser: +class BearerCLIParser: """ Bearer CLI tool is a SAST scanner for multiple languages """ diff --git a/unittests/tools/test_bearer_cli_parser.py b/unittests/tools/test_bearer_cli_parser.py index c3e75819318..d0fcdd26577 100644 --- a/unittests/tools/test_bearer_cli_parser.py +++ b/unittests/tools/test_bearer_cli_parser.py @@ -1,14 +1,14 @@ from django.test import TestCase from dojo.models import Test -from dojo.tools.bearer_cli.parser import BearerParser +from dojo.tools.bearer_cli.parser import BearerCLIParser class TestBearerParser(TestCase): def test_bearer_parser_with_one_vuln_has_one_findings(self): testfile = open("unittests/scans/bearer_cli/bearer_cli_one_vul.json") - parser = BearerParser() + parser = BearerCLIParser() findings = parser.get_findings(testfile, Test()) testfile.close() self.assertEqual(1, len(findings)) @@ -22,7 +22,7 @@ def test_bearer_parser_with_one_vuln_has_one_findings(self): def test_bearer_parser_with_many_vuln_has_many_findings(self): testfile = open("unittests/scans/bearer_cli/bearer_cli_many_vul.json") - parser = BearerParser() + parser = BearerCLIParser() findings = parser.get_findings(testfile, Test()) testfile.close() self.assertEqual(4, len(findings))