aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/test.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-31 18:38:11 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-31 18:38:11 +1200
commit6122f2da444e114091d6aec8e01a43d760503d06 (patch)
treee1d79af0525ec7c67e136f4448fdd4aa1c4415f2 /libpathod/test.py
parent2ebe994375976720e80e5fe011a56dda278da3d7 (diff)
downloadmitmproxy-6122f2da444e114091d6aec8e01a43d760503d06.tar.gz
mitmproxy-6122f2da444e114091d6aec8e01a43d760503d06.tar.bz2
mitmproxy-6122f2da444e114091d6aec8e01a43d760503d06.zip
Change test API to allow multiple pathoc requests
Add simple unit test for websocket server
Diffstat (limited to 'libpathod/test.py')
-rw-r--r--libpathod/test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/test.py b/libpathod/test.py
index afd41f81..596fea9c 100644
--- a/libpathod/test.py
+++ b/libpathod/test.py
@@ -48,7 +48,7 @@ class Daemon:
l = self.log()
if not l:
return None
- return l[-1]
+ return l[0]
def log(self):
"""