Home
last modified time | relevance | path

Searched refs:auth_dict (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_urllib2_localnet.py154 auth_dict = {}
162 auth_dict[name] = value
163 return auth_dict
165 def _validate_auth(self, auth_dict, password, method, uri): argument
167 final_dict.update(auth_dict)
181 return response == auth_dict["response"]
213 auth_dict = self._create_auth_dict(
216 if auth_dict["username"] in self._users:
217 password = self._users[ auth_dict["username"] ]
220 if not auth_dict.get("nonce") in self._nonces:
[all …]
/external/python/cpython3/Lib/test/
Dtest_urllib2_localnet.py113 auth_dict = {}
121 auth_dict[name] = value
122 return auth_dict
124 def _validate_auth(self, auth_dict, password, method, uri): argument
126 final_dict.update(auth_dict)
140 return response == auth_dict["response"]
172 auth_dict = self._create_auth_dict(
175 if auth_dict["username"] in self._users:
176 password = self._users[ auth_dict["username"] ]
179 if not auth_dict.get("nonce") in self._nonces:
[all …]