diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-05-03 12:59:21 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-05-03 12:59:21 +1200 |
commit | 67d2993339cb81ff61509c57807df77dde436a3d (patch) | |
tree | 010fe2f43b7839666d061b070504b147b7c91199 /test/test_pathoc.py | |
parent | 3f5ec4b73739340891a727a228cefdac727ec882 (diff) | |
download | mitmproxy-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.py | 2 |
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 |