Lines Matching refs:env
40 def _class_scope(self, env, nghttpx): argument
41 if env.have_h3():
45 def test_01_01_http_get(self, env: Env, httpd):
46 curl = CurlClient(env=env)
50 assert r.json['server'] == env.domain1
54 def test_01_02_https_get(self, env: Env, httpd):
55 curl = CurlClient(env=env)
59 assert r.json['server'] == env.domain1
63 def test_01_03_h2_get(self, env: Env, httpd):
64 curl = CurlClient(env=env)
68 assert r.json['server'] == env.domain1
72 def test_01_04_h2_unsupported(self, env: Env, httpd):
73 curl = CurlClient(env=env)
77 assert r.json['server'] == env.domain2
81 def test_01_05_h3_get(self, env: Env, httpd, nghttpx):
82 curl = CurlClient(env=env)
86 assert r.json['server'] == env.domain1
91 def test_01_06_timings(self, env: Env, httpd, nghttpx, repeat, proto):
92 if proto == 'h3' and not env.have_h3():
94 curl = CurlClient(env=env)
98 remote_port=env.port_for(alpn_proto=proto),
106 def test_01_07_head(self, env: Env, httpd, nghttpx, repeat, proto):
107 if proto == 'h3' and not env.have_h3():
109 curl = CurlClient(env=env)
114 remote_port=env.port_for(alpn_proto=proto),
121 def test_01_08_h2_upgrade(self, env: Env, httpd):
122 curl = CurlClient(env=env)
130 assert r.json['server'] == env.domain1
133 def test_01_09_h2_prior_knowledge(self, env: Env, httpd):
134 curl = CurlClient(env=env)
141 assert r.json['server'] == env.domain1