Lines Matching refs:env
46 def vsftpds(self, env): argument
49 vsftpds = VsFTPD(env=env, with_ssl=True)
68 def _class_scope(self, env, vsftpds): argument
77 env.make_data_file(indir=env.gen_dir, fname="upload-1k", fsize=1024)
78 env.make_data_file(indir=env.gen_dir, fname="upload-100k", fsize=100*1024)
79 env.make_data_file(indir=env.gen_dir, fname="upload-1m", fsize=1024*1024)
81 def test_31_01_list_dir(self, env: Env, vsftpds: VsFTPD, repeat):
82 curl = CurlClient(env=env)
93 def test_31_02_download_1(self, env: Env, vsftpds: VsFTPD, docname, repeat):
94 curl = CurlClient(env=env)
105 def test_31_03_download_10_serial(self, env: Env, vsftpds: VsFTPD, docname, repeat):
106 curl = CurlClient(env=env)
117 def test_31_04_download_10_parallel(self, env: Env, vsftpds: VsFTPD, docname, repeat):
118 curl = CurlClient(env=env)
131 def test_31_05_upload_1(self, env: Env, vsftpds: VsFTPD, docname, repeat):
132 curl = CurlClient(env=env)
133 srcfile = os.path.join(env.gen_dir, docname)
140 self.check_upload(env, vsftpds, docname=docname)
148 def test_31_06_shutdownh_download(self, env: Env, vsftpds: VsFTPD, repeat):
150 curl = CurlClient(env=env)
157 … assert len(r.tcpdump.stats_excluding(src_port=env.ftps_port)) == 0, 'Unexpected TCP RSTs packets'
161 def test_31_07_shutdownh_upload(self, env: Env, vsftpds: VsFTPD, repeat):
163 curl = CurlClient(env=env)
164 srcfile = os.path.join(env.gen_dir, docname)
173 … assert len(r.tcpdump.stats_excluding(src_port=env.ftps_port)) == 0, 'Unexpected TCP RSTs packets'
175 def test_31_08_upload_ascii(self, env: Env, vsftpds: VsFTPD):
178 srcfile = os.path.join(env.gen_dir, docname)
180 env.make_data_file(indir=env.gen_dir, fname=docname, fsize=100*1024,
185 curl = CurlClient(env=env)
197 def test_31_08_active_download(self, env: Env, vsftpds: VsFTPD):
199 curl = CurlClient(env=env)
209 def test_31_09_active_upload(self, env: Env, vsftpds: VsFTPD):
211 curl = CurlClient(env=env)
212 srcfile = os.path.join(env.gen_dir, docname)
221 self.check_upload(env, vsftpds, docname=docname)
226 def test_31_10_upload_stdin(self, env: Env, vsftpds: VsFTPD, indata):
227 curl = CurlClient(env=env)
253 def check_upload(self, env, vsftpd: VsFTPD, docname): argument
254 srcfile = os.path.join(env.gen_dir, docname)