Lines Matching refs:env
39 env = Env()
49 if env.have_h3():
53 if env.has_caddy():
57 if env.has_vsftpd():
61 buildinfo_fn = os.path.join(env.build_dir, 'buildinfo.txt')
76 def env(pytestconfig) -> Env: function
77 env = Env(pytestconfig=pytestconfig)
78 level = logging.DEBUG if env.verbose > 0 else logging.INFO
80 if not env.curl_has_protocol('http'):
82 if not env.curl_has_protocol('https'):
84 if env.setup_incomplete():
85 pytest.skip(env.incomplete_reason())
87 env.setup()
88 return env
91 def log_global_env_facts(record_testsuite_property, env): argument
92 record_testsuite_property("http-port", env.http_port)
96 def httpd(env) -> Generator[Httpd, None, None]: argument
97 httpd = Httpd(env=env)
108 def nghttpx(env, httpd) -> Generator[Nghttpx, None, None]: argument
109 nghttpx = NghttpxQuic(env=env)
110 if nghttpx.exists() and (env.have_h3() or nghttpx.https_port > 0):
117 def nghttpx_fwd(env, httpd) -> Generator[Nghttpx, None, None]: argument
118 nghttpx = NghttpxFwd(env=env)
119 if nghttpx.exists() and (env.have_h3() or nghttpx.https_port > 0):