mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
fix alpn requirement in web tests
This commit is contained in:
parent
3028e06fd2
commit
5549757268
@ -19,7 +19,7 @@ def json(resp: httpclient.HTTPResponse):
|
|||||||
|
|
||||||
class TestApp(tornado.testing.AsyncHTTPTestCase):
|
class TestApp(tornado.testing.AsyncHTTPTestCase):
|
||||||
def get_app(self):
|
def get_app(self):
|
||||||
o = options.Options()
|
o = options.Options(http2=False)
|
||||||
m = webmaster.WebMaster(o, proxy.DummyServer(), with_termlog=False)
|
m = webmaster.WebMaster(o, proxy.DummyServer(), with_termlog=False)
|
||||||
f = tflow.tflow(resp=True)
|
f = tflow.tflow(resp=True)
|
||||||
f.id = "42"
|
f.id = "42"
|
||||||
|
Loading…
Reference in New Issue
Block a user