Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 8, 2023
1 parent 584d1e2 commit 2424cb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions project/tests/test_sensitive_data_in_request.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
DEFAULT_SENSITIVE_KEYS = {'username', 'api', 'token', 'key', 'secret', 'password', 'signature'}
DEFAULT_HIDE_COOKIES = True


class MaskCredentialsInFormsTest(TestCase):
def tearDown(self):
SilkyConfig().SILKY_SENSITIVE_KEYS = DEFAULT_SENSITIVE_KEYS
Expand Down Expand Up @@ -126,6 +127,7 @@ class TestEncodingForRequests(TestCase):
"""
Check that the RequestModelFactory masks sensitive data
"""

def tearDown(self):
SilkyConfig().SILKY_SENSITIVE_KEYS = DEFAULT_SENSITIVE_KEYS
SilkyConfig().SILKY_HIDE_COOKIES = DEFAULT_HIDE_COOKIES
Expand Down

0 comments on commit 2424cb7

Please sign in to comment.