Lines Matching refs:env
45 def check_alive(self, env, timeout=5): argument
46 curl = CurlClient(env=env)
65 def ws_echo(self, env): argument
66 run_dir = os.path.join(env.gen_dir, 'ws-echo-server')
72 cmd = os.path.join(env.project_dir,
74 args = [cmd, '--port', str(env.ws_port)]
77 assert self.check_alive(env)
81 def test_20_01_basic(self, env: Env, ws_echo, repeat):
82 curl = CurlClient(env=env)
87 def test_20_02_pingpong_small(self, env: Env, ws_echo, repeat):
89 client = LocalClient(env=env, name='ws-pingpong')
97 def test_20_03_pingpong_too_large(self, env: Env, ws_echo, repeat):
99 client = LocalClient(env=env, name='ws-pingpong')
107 def test_20_04_data_small(self, env: Env, ws_echo, repeat):
108 client = LocalClient(env=env, name='ws-data')
116 def test_20_05_data_med(self, env: Env, ws_echo, repeat):
117 client = LocalClient(env=env, name='ws-data')
125 def test_20_06_data_large(self, env: Env, ws_echo, repeat):
126 client = LocalClient(env=env, name='ws-data')
134 def test_20_07_data_large_small_recv(self, env: Env, ws_echo, repeat):
135 client = LocalClient(env=env, name='ws-data', run_env={