aboutsummaryrefslogtreecommitdiffstats
path: root/test/test_pathoc.py
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@nullcube.com>2015-05-03 12:59:21 +1200
committerAldo Cortesi <aldo@nullcube.com>2015-05-03 12:59:21 +1200
commit67d2993339cb81ff61509c57807df77dde436a3d (patch)
tree010fe2f43b7839666d061b070504b147b7c91199 /test/test_pathoc.py
parent3f5ec4b73739340891a727a228cefdac727ec882 (diff)
downloadmitmproxy-67d2993339cb81ff61509c57807df77dde436a3d.tar.gz
mitmproxy-67d2993339cb81ff61509c57807df77dde436a3d.tar.bz2
mitmproxy-67d2993339cb81ff61509c57807df77dde436a3d.zip
Lower-case rather than upper-case to canonicalize names
Marginally less finicky
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 8d0d5972..466081cd 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -162,7 +162,7 @@ class TestDaemon(_TestDaemon):
def test_showreq(self):
reqs = ["get:/api/info:p0,0", "get:/api/info:p0,0"]
- assert self.tval(reqs, showreq=True).count("GET /api") == 2
+ assert self.tval(reqs, showreq=True).count("get /api") == 2
assert self.tval(
reqs, showreq=True, hexdump=True
).count("0000000000") == 2