diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-03-03 12:16:09 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-03-03 12:16:09 +1300 |
commit | 1fe1a802adbef93b5b024a85d8dafb112ed652bb (patch) | |
tree | 2fdfec5c63eb81f6c438f00c62dcb7df25500db5 /netlib/http_auth.py | |
parent | 0acab862a65ef4a1823a1bfb702d8be1e3d7b83d (diff) | |
download | mitmproxy-1fe1a802adbef93b5b024a85d8dafb112ed652bb.tar.gz mitmproxy-1fe1a802adbef93b5b024a85d8dafb112ed652bb.tar.bz2 mitmproxy-1fe1a802adbef93b5b024a85d8dafb112ed652bb.zip |
100% test coverage.
Diffstat (limited to 'netlib/http_auth.py')
-rw-r--r-- | netlib/http_auth.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netlib/http_auth.py b/netlib/http_auth.py index d478ab10..4adae179 100644 --- a/netlib/http_auth.py +++ b/netlib/http_auth.py @@ -96,7 +96,7 @@ class PassManHtpasswd: salt = parts[2], hashed_password = parts[3] ) - + def test(self, username, password_token): ui = self.usernames.get(username) if not ui: |