aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http_auth.py
diff options
context:
space:
mode:
authorMaximilian Hils <git@maximilianhils.com>2013-11-19 05:03:10 +0100
committerMaximilian Hils <git@maximilianhils.com>2013-11-19 05:03:10 +0100
commit643602c066cdeac8653c28cf0c23f98a1c0ad7fe (patch)
treea8c7d93bc13f71de08c60958cbe79f921324263f /test/test_http_auth.py
parent5e4ccbd7edc6eebf9eee25fd4d6ca64994ed6522 (diff)
parent28a0030c1ecacb8ac5c6e6453b6a22bdf94d9f7e (diff)
downloadmitmproxy-643602c066cdeac8653c28cf0c23f98a1c0ad7fe.tar.gz
mitmproxy-643602c066cdeac8653c28cf0c23f98a1c0ad7fe.tar.bz2
mitmproxy-643602c066cdeac8653c28cf0c23f98a1c0ad7fe.zip
Merge branch 'fix_windows_bugs' into fix_invalid_tcp_close
Diffstat (limited to 'test/test_http_auth.py')
-rw-r--r--test/test_http_auth.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_http_auth.py b/test/test_http_auth.py
index cae69f5e..83de0fa1 100644
--- a/test/test_http_auth.py
+++ b/test/test_http_auth.py
@@ -17,7 +17,7 @@ class TestPassManHtpasswd:
tutils.raises("invalid htpasswd", http_auth.PassManHtpasswd, s)
def test_simple(self):
- f = open(tutils.test_data.path("data/htpasswd"))
+ f = open(tutils.test_data.path("data/htpasswd"),"rb")
pm = http_auth.PassManHtpasswd(f)
vals = ("basic", "test", "test")