Skip to content

Commit

Permalink
chore: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gg-mmill committed Dec 3, 2024
1 parent 7f07129 commit c1ec7e9
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions tests/unit/verticals/secret/output/test_json_output.py
Original file line number Diff line number Diff line change
Expand Up @@ -342,8 +342,18 @@ def check_occurrences_indices(
("one_line_and_multiline_patch", _ONE_LINE_AND_MULTILINE_PATCH, 1, True),
("no_secret", _NO_SECRET_PATCH, 0, True),
("single_add", _SINGLE_ADD_PATCH, 1, True),
("single_delete", _SINGLE_DELETE_PATCH, 1, True),
("single_move", _SINGLE_MOVE_PATCH, 1, True),
(
"single_delete",
_SINGLE_DELETE_PATCH,
0,
True,
), # no issue because secret is removed
(
"single_move",
_SINGLE_MOVE_PATCH,
0,
True,
), # no issue because secret is not added
("multiline_secret", _MULTILINE_SECRET_FILE, 1, False),
("single_line_secret", _SINGLE_LINE_SECRET_FILE, 1, False),
("one_line_and_multiline_secrets", _ONE_LINE_AND_MULTILINE_FILE, 1, False),
Expand Down

0 comments on commit c1ec7e9

Please sign in to comment.