diff options
author | Joffrey F <joffrey@docker.com> | 2018-01-30 18:22:41 -0800 |
---|---|---|
committer | Joffrey F <joffrey@docker.com> | 2018-01-30 18:42:38 -0800 |
commit | ccbde11c8dbb8773aed84abac92c6361b8e11229 (patch) | |
tree | 8bf4e02458dded8990a80a8e6bdcb3a1cdea3532 /tests/unit/utils_test.py | |
parent | 75e2e8ad816ac35e1c4928f6b3f9e40841ca493c (diff) | |
download | docker-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.py | 4 |
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 } |