From 7d4cd5f02f2456f9b3e9b6396d198082efe2ce74 Mon Sep 17 00:00:00 2001 From: debugtalk Date: Thu, 14 Sep 2017 10:50:11 +0800 Subject: [PATCH] bugfix: HttpNtlmAuth should be lower case --- ate/client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ate/client.py b/ate/client.py index a56c9fc9..de2685ca 100644 --- a/ate/client.py +++ b/ate/client.py @@ -103,9 +103,9 @@ class HttpSession(requests.Session): request_meta["method"] = method request_meta["start_time"] = time.time() - if "HttpNtlmAuth" in kwargs: + if "httpntlmauth" in kwargs: from requests_ntlm import HttpNtlmAuth - auth_account = kwargs.pop("HttpNtlmAuth") + auth_account = kwargs.pop("httpntlmauth") kwargs["auth"] = HttpNtlmAuth( auth_account["username"], auth_account["password"])