Skip to content

Commit 5745184

Browse files
committed
Fix hyperlinks in OWASP AISVS parser test to use 'blob' instead of 'tree'
1 parent 9f6334d commit 5745184

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

application/tests/owasp_aisvs_parser_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_parse(self) -> None:
4545
"Training Data Governance & Bias Management", entries[0].section
4646
)
4747
self.assertEqual(
48-
"https://github.com/OWASP/AISVS/tree/main/1.0/en/0x10-C01-Training-Data-Governance.md",
48+
"https://github.com/OWASP/AISVS/blob/main/1.0/en/0x10-C01-Training-Data-Governance.md",
4949
entries[0].hyperlink,
5050
)
5151
self.assertEqual(
@@ -57,7 +57,7 @@ def test_parse(self) -> None:
5757
"Human Oversight, Accountability & Governance", entries[-1].section
5858
)
5959
self.assertEqual(
60-
"https://github.com/OWASP/AISVS/tree/main/1.0/en/0x10-C14-Human-Oversight.md",
60+
"https://github.com/OWASP/AISVS/blob/main/1.0/en/0x10-C14-Human-Oversight.md",
6161
entries[-1].hyperlink,
6262
)
6363
self.assertEqual(

0 commit comments

Comments
 (0)