diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-12-08 10:15:43 +1300 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-12-08 10:15:43 +1300 |
commit | ed74b628569348d3d71cfe6e6a5f29b5289ee82c (patch) | |
tree | 0d23809113380fbcf78531a41fb913af134e6c12 /test/test_http_auth.py | |
parent | bed2aed9db346f37b858c8f7f069f65e9f59d0e9 (diff) | |
parent | 5aad09ab816b2343ca686d45e6c5d2b8ba07b10b (diff) | |
download | mitmproxy-ed74b628569348d3d71cfe6e6a5f29b5289ee82c.tar.gz mitmproxy-ed74b628569348d3d71cfe6e6a5f29b5289ee82c.tar.bz2 mitmproxy-ed74b628569348d3d71cfe6e6a5f29b5289ee82c.zip |
Merge branch 'fix_invalid_tcp_close'
Diffstat (limited to 'test/test_http_auth.py')
-rw-r--r-- | test/test_http_auth.py | 2 |
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") |