aboutsummaryrefslogtreecommitdiffstats
path: root/test/scripts/all.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-30 12:03:28 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-30 12:03:28 +1200
commita05a70d8168a07c92b2a3ecbbb1958d85532efe3 (patch)
treebc2cc0b89d05e8213280a460cbf25978583c8337 /test/scripts/all.py
parent1a106f4080d89a236a193f2cb007a00aa195a1ad (diff)
downloadmitmproxy-a05a70d8168a07c92b2a3ecbbb1958d85532efe3.tar.gz
mitmproxy-a05a70d8168a07c92b2a3ecbbb1958d85532efe3.tar.bz2
mitmproxy-a05a70d8168a07c92b2a3ecbbb1958d85532efe3.zip
Add coding style check, reformat.
Diffstat (limited to 'test/scripts/all.py')
-rw-r--r--test/scripts/all.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/scripts/all.py b/test/scripts/all.py
index 3acaf694..dad2aade 100644
--- a/test/scripts/all.py
+++ b/test/scripts/all.py
@@ -1,28 +1,36 @@
log = []
+
+
def clientconnect(ctx, cc):
ctx.log("XCLIENTCONNECT")
log.append("clientconnect")
+
def serverconnect(ctx, cc):
ctx.log("XSERVERCONNECT")
log.append("serverconnect")
+
def request(ctx, f):
ctx.log("XREQUEST")
log.append("request")
+
def response(ctx, f):
ctx.log("XRESPONSE")
log.append("response")
+
def responseheaders(ctx, f):
ctx.log("XRESPONSEHEADERS")
log.append("responseheaders")
+
def clientdisconnect(ctx, cc):
ctx.log("XCLIENTDISCONNECT")
log.append("clientdisconnect")
+
def error(ctx, cc):
ctx.log("XERROR")
log.append("error")