summaryrefslogtreecommitdiff
path: root/tests/unit/test_swiftclient.py
diff options
context:
space:
mode:
authorTim Burke <tim.burke@gmail.com>2016-02-24 16:56:55 -0800
committerTim Burke <tim.burke@gmail.com>2016-02-25 10:06:48 -0800
commitc3f06417049e17a8d45ee5926c5043cb6c8aa9ef (patch)
treed2bd0b0281eedd78d3cc5ef6f8dfbba864b6f785 /tests/unit/test_swiftclient.py
parent4d44dcf36086add13d3353915c014f095ab99c6d (diff)
downloadpython-swiftclient-c3f06417049e17a8d45ee5926c5043cb6c8aa9ef.tar.gz
Follow-up to patch 282363
* Improve some formatting * Be more explicit about how much will be revealed when * Rename redact_sensitive_tokens to redact_sensitive_headers, as it affects more than tokens. Change-Id: I02b375d914e9f0a210d038ecb31188d09a8ffce3
Diffstat (limited to 'tests/unit/test_swiftclient.py')
-rw-r--r--tests/unit/test_swiftclient.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test_swiftclient.py b/tests/unit/test_swiftclient.py
index 77cf607..ae144e2 100644
--- a/tests/unit/test_swiftclient.py
+++ b/tests/unit/test_swiftclient.py
@@ -2233,7 +2233,7 @@ class TestLogging(MockHttpTest):
unicode_token_value = (u'\u5929\u7a7a\u4e2d\u7684\u4e4c\u4e91'
u'\u5929\u7a7a\u4e2d\u7684\u4e4c\u4e91'
u'\u5929\u7a7a\u4e2d\u7684\u4e4c')
- c.logger_settings['redact_sensitive_tokens'] = False
+ c.logger_settings['redact_sensitive_headers'] = False
c.http_log(
['GET'],
{'headers': {