aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-16 11:31:53 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-16 11:31:53 +1200
commit2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9 (patch)
treedb69f9cff1ff0611b507f55c133994076166af6e /test/tutils.py
parentd66dedc6e7bdc201cd4d3fa5f04c9636a8ad57f4 (diff)
downloadmitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.tar.gz
mitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.tar.bz2
mitmproxy-2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9.zip
websockets: client and server flavors, key and mask specification
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/tutils.py b/test/tutils.py
index 2387e752..07252b53 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -141,6 +141,7 @@ test_data = utils.Data(__name__)
def render(r, settings=language.Settings()):
+ r = r.resolve(settings)
s = cStringIO.StringIO()
assert language.serve(r, s, settings)
return s.getvalue()