summaryrefslogtreecommitdiff
path: root/tests/unit/utils_test.py
diff options
context:
space:
mode:
authorJoffrey F <joffrey@docker.com>2018-01-30 18:22:41 -0800
committerJoffrey F <joffrey@docker.com>2018-01-30 18:42:38 -0800
commitccbde11c8dbb8773aed84abac92c6361b8e11229 (patch)
tree8bf4e02458dded8990a80a8e6bdcb3a1cdea3532 /tests/unit/utils_test.py
parent75e2e8ad816ac35e1c4928f6b3f9e40841ca493c (diff)
downloaddocker-py-improve_authconfig_genconfig_separation.tar.gz
Improve separation between auth_configs and general_configsimprove_authconfig_genconfig_separation
Signed-off-by: Joffrey F <joffrey@docker.com>
Diffstat (limited to 'tests/unit/utils_test.py')
-rw-r--r--tests/unit/utils_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/utils_test.py b/tests/unit/utils_test.py
index 73f95d6..1f9daf6 100644
--- a/tests/unit/utils_test.py
+++ b/tests/unit/utils_test.py
@@ -46,7 +46,7 @@ class DecoratorsTest(unittest.TestCase):
return headers
client = APIClient()
- client._auth_configs = {}
+ client._general_configs = {}
g = update_headers(f)
assert g(client, headers=None) is None
@@ -55,7 +55,7 @@ class DecoratorsTest(unittest.TestCase):
'Content-type': 'application/json',
}
- client._auth_configs = {
+ client._general_configs = {
'HttpHeaders': sample_headers
}