aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_server.py3
-rw-r--r--test/tutils.py2
2 files changed, 4 insertions, 1 deletions
diff --git a/test/test_server.py b/test/test_server.py
index d0e5d652..296333d8 100644
--- a/test/test_server.py
+++ b/test/test_server.py
@@ -16,6 +16,9 @@ class Sanity(tutils.ProxTest):
assert self.pathod("304").status_code == 304
assert self.log()
+ def test_large(self):
+ assert len(self.pathod("200:b@500k").content) == 1024*500
+
class TestHTTP(Sanity):
pass
diff --git a/test/tutils.py b/test/tutils.py
index 74ce6ce6..2fdf51a8 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -1,5 +1,5 @@
import threading, Queue, time
-import os, shutil,tempfile
+import os, shutil, tempfile
from contextlib import contextmanager
import libpry
from libmproxy import proxy, flow, controller, utils