Skip to content

Commit

Permalink
fix(secrets): fix indentation to remove duplications (#6626)
Browse files Browse the repository at this point in the history
* fix indentation

* empty

---------

Co-authored-by: Chanan Merari <[email protected]>
  • Loading branch information
RabeaZr and ChananM authored Dec 8, 2024
1 parent 2eeb83f commit 16f9543
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/secrets/test_prioritise_secrets.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@ def test_no_removal_other_check_id(self):
self.assertFalse(result)
self.assertIn('key3', self.secret_records)

def test_no_removal_of_first_check_id(self):
result = Runner._prioritise_secrets(self.secret_records, 'key1', 'CKV_SECRET_80')
self.assertFalse(result)
self.assertIn('key1', self.secret_records)


if __name__ == '__main__':
unittest.main()

0 comments on commit 16f9543

Please sign in to comment.