Skip to content

Commit 548f6fb

Browse files
committed
Refactor links definition in cheatsheets parser test for improved readability
1 parent 6119426 commit 548f6fb

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

application/tests/cheatsheets_parser_test.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,7 @@ class Repo:
5353
name="OWASP Cheat Sheets",
5454
hyperlink="https://cheatsheetseries.owasp.org/cheatsheets/Secrets_Management_Cheat_Sheet.html",
5555
section="Secrets Management Cheat Sheet",
56-
links=[
57-
defs.Link(
58-
document=cre, ltype=defs.LinkTypes.AutomaticallyLinkedTo
59-
)
60-
],
56+
links=[defs.Link(document=cre, ltype=defs.LinkTypes.AutomaticallyLinkedTo)],
6157
tags=[
6258
"family:guidance",
6359
"subtype:cheatsheet",

0 commit comments

Comments
 (0)