Skip to content

Commit 1120ed3

Browse files
fix one more test
1 parent 636a170 commit 1120ed3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/finding_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ def test_edit_finding_cvssv3_valid_vector_no_prefix(self):
198198
expected_cvssv3_value="AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H",
199199
expected_cvssv3_score="2",
200200
expect_success=False,
201-
error_message="No valid CVSS vectors found by cvss.parse_cvss_from_text()",
201+
error_message="No valid CVSS3 vectors found by cvss.parse_cvss_from_text()",
202202
)
203203

204204
@on_exception_html_source_logger
@@ -209,7 +209,7 @@ def test_edit_finding_cvssv3_valid_vector_with_trailing_slash(self):
209209
expected_cvssv3_value="CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/",
210210
expected_cvssv3_score="3",
211211
expect_success=False,
212-
error_message="No valid CVSS vectors found by cvss.parse_cvss_from_text()",
212+
error_message="No valid CVSS3 vectors found by cvss.parse_cvss_from_text()",
213213
)
214214

215215
@on_exception_html_source_logger
@@ -220,7 +220,7 @@ def test_edit_finding_cvssv3_with_v2_vector_invalid_due_to_prefix(self):
220220
expected_cvssv3_value="CVSS:2.0/AV:N/AC:L/Au:N/C:P/I:P/A:P",
221221
expected_cvssv3_score="4",
222222
expect_success=False,
223-
error_message="No valid CVSS vectors found by cvss.parse_cvss_from_text()",
223+
error_message="No valid CVSS3 vectors found by cvss.parse_cvss_from_text()",
224224
)
225225

226226
@on_exception_html_source_logger

0 commit comments

Comments
 (0)