MCPcopy Index your code
hub / github.com/python/cpython / test_proxy_qop_auth_works

Method test_proxy_qop_auth_works

Lib/test/test_urllib2_localnet.py:377–383  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

375 cm.exception.close()
376
377 def test_proxy_qop_auth_works(self):
378 self.proxy_digest_handler.add_password(self.REALM, self.URL,
379 self.USER, self.PASSWD)
380 self.digest_auth_handler.set_qop("auth")
381 with self.opener.open(self.URL) as result:
382 while result.read():
383 pass
384
385 def test_proxy_qop_auth_int_works_or_throws_urlerror(self):
386 self.proxy_digest_handler.add_password(self.REALM, self.URL,

Callers

nothing calls this directly

Calls 4

set_qopMethod · 0.80
add_passwordMethod · 0.45
openMethod · 0.45
readMethod · 0.45

Tested by

no test coverage detected