aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_http_auth.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-30 12:02:58 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-30 12:02:58 +1200
commitf76bfabc5d4ce36c56b1d1fd571728ee06f37b78 (patch)
treed9baea0647598db1eb0c0898ed90e72f4333b80e /test/test_http_auth.py
parent5e4850d3b3056d90a798d1563f0a619c5ef37e8c (diff)
downloadmitmproxy-f76bfabc5d4ce36c56b1d1fd571728ee06f37b78.tar.gz
mitmproxy-f76bfabc5d4ce36c56b1d1fd571728ee06f37b78.tar.bz2
mitmproxy-f76bfabc5d4ce36c56b1d1fd571728ee06f37b78.zip
Adjust pep8 parameters, reformat
Diffstat (limited to 'test/test_http_auth.py')
-rw-r--r--test/test_http_auth.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/test_http_auth.py b/test/test_http_auth.py
index 045fb13e..c842925b 100644
--- a/test/test_http_auth.py
+++ b/test/test_http_auth.py
@@ -13,7 +13,10 @@ class TestPassManNonAnon:
class TestPassManHtpasswd:
def test_file_errors(self):
- tutils.raises("malformed htpasswd file", http_auth.PassManHtpasswd, tutils.test_data.path("data/server.crt"))
+ tutils.raises(
+ "malformed htpasswd file",
+ http_auth.PassManHtpasswd,
+ tutils.test_data.path("data/server.crt"))
def test_simple(self):
pm = http_auth.PassManHtpasswd(tutils.test_data.path("data/htpasswd"))