aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2015-08-01 11:38:12 +1200
committerAldo Cortesi <aldo@corte.si>2015-08-01 11:38:12 +1200
commit7432ad6af7a69291bb5b1f63d1b279833a4231dd (patch)
treee21889f43750cb979424dcd928510c7bd94efacb /test
parentd301f55bb7df5d4f8156153a36fd600c04b77115 (diff)
parent31dbd2fc7595d709e41523f3586dfdc02feb07dd (diff)
downloadmitmproxy-7432ad6af7a69291bb5b1f63d1b279833a4231dd.tar.gz
mitmproxy-7432ad6af7a69291bb5b1f63d1b279833a4231dd.tar.bz2
mitmproxy-7432ad6af7a69291bb5b1f63d1b279833a4231dd.zip
Merge pull request #32 from Kriechi/http2-wip
[WIP] Protocol Refactoring for HTTP/2
Diffstat (limited to 'test')
-rw-r--r--test/test_pathoc.py2
-rw-r--r--test/test_pathod.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/test_pathoc.py b/test/test_pathoc.py
index 56671109..54590174 100644
--- a/test/test_pathoc.py
+++ b/test/test_pathoc.py
@@ -301,4 +301,4 @@ class TestDaemonHTTP2(_TestDaemon):
)
c.connect()
resp = c.request("get:/p/200")
- assert resp.status_code == "200"
+ assert resp.status_code == 200
diff --git a/test/test_pathod.py b/test/test_pathod.py
index 1f127586..c25de41f 100644
--- a/test/test_pathod.py
+++ b/test/test_pathod.py
@@ -284,4 +284,4 @@ class TestHTTP2(tutils.DaemonTests):
def test_http2(self):
r, _ = self.pathoc(["GET:/"], ssl=True, use_http2=True)
- assert r[0].status_code == "800"
+ assert r[0].status_code == 800