aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathoc.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/test_pathoc.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/test_pathoc.py')
-rw-r--r--test/test_pathoc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py
index 28514378..e1e1fe97 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -23,7 +23,7 @@ class _TestDaemon:
ssloptions = self.ssloptions,
staticdir = tutils.test_data.path("data"),
anchors = [
- (re.compile("/anchor/.*"), language.parse_pathod("202"))
+ (re.compile("/anchor/.*"), "202")
]
)