Rename secrets to ignore as it does more than secrets
This commit is contained in:
parent
4882ddff49
commit
e4be7f5975
7 changed files with 51 additions and 15 deletions
|
|
@ -1,8 +0,0 @@
|
|||
from enroll.secrets import SecretPolicy
|
||||
|
||||
|
||||
def test_secret_policy_denies_common_backup_files():
|
||||
pol = SecretPolicy()
|
||||
assert pol.deny_reason("/etc/shadow-") == "denied_path"
|
||||
assert pol.deny_reason("/etc/passwd-") == "denied_path"
|
||||
assert pol.deny_reason("/etc/group-") == "denied_path"
|
||||
Loading…
Add table
Add a link
Reference in a new issue