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

Method add_password

Lib/test/test_urllib2.py:560–564  ·  view source on GitHub ↗
(self, realm, uri, user, password)

Source from the content-addressed store, hash-verified

558
559class MockPasswordManager:
560 def add_password(self, realm, uri, user, password):
561 self.realm = realm
562 self.url = uri
563 self.user = user
564 self.password = password
565
566 def find_user_password(self, realm, authuri):
567 self.target_realm = realm

Calls

no outgoing calls

Tested by

no test coverage detected