aboutsummaryrefslogtreecommitdiffstats
path: root/test/tutils.py
diff options
context:
space:
mode:
authorThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-12 13:41:04 +0200
committerThomas Kriechbaumer <thomas@kriechbaumer.name>2015-06-15 15:50:45 +0200
commit30fbf57e4b72e3947c323d98aee7b2d44663e33c (patch)
treea0b23dc58b5c208ce37a52875529c10b5471321a /test/tutils.py
parent22811c45dd1e6e6f1c8108e83a7be625f305c19e (diff)
downloadmitmproxy-30fbf57e4b72e3947c323d98aee7b2d44663e33c.tar.gz
mitmproxy-30fbf57e4b72e3947c323d98aee7b2d44663e33c.tar.bz2
mitmproxy-30fbf57e4b72e3947c323d98aee7b2d44663e33c.zip
delay pathod parsing until needed
This allows us to use different languages based on runtime env.
Diffstat (limited to 'test/tutils.py')
-rw-r--r--test/tutils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/tutils.py b/test/tutils.py
index c56c60d4..60c0765a 100644
--- a/test/tutils.py
+++ b/test/tutils.py
@@ -27,7 +27,7 @@ class DaemonTests(object):
klass.d = test.Daemon(
staticdir=test_data.path("data"),
anchors=[
- (re.compile("/anchor/.*"), language.parse_pathod("202:da"))
+ (re.compile("/anchor/.*"), "202:da")
],
ssl = klass.ssl,
ssloptions = so,