Lines Matching refs:vsftpds

46     def vsftpds(self, env):  member in TestVsFTPD
49 vsftpds = VsFTPD(env=env, with_ssl=True)
50 if not vsftpds.start():
51 vsftpds.stop()
54 yield vsftpds
55 vsftpds.stop()
68 def _class_scope(self, env, vsftpds): argument
69 if os.path.exists(vsftpds.docs_dir):
70 shutil.rmtree(vsftpds.docs_dir)
71 if not os.path.exists(vsftpds.docs_dir):
72 os.makedirs(vsftpds.docs_dir)
73 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-1k', fsize=1024)
74 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-10k', fsize=10*1024)
75 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-1m', fsize=1024*1024)
76 self._make_docs_file(docs_dir=vsftpds.docs_dir, fname='data-10m', fsize=10*1024*1024)
81 def test_31_01_list_dir(self, env: Env, vsftpds: VsFTPD, repeat):
93 def test_31_02_download_1(self, env: Env, vsftpds: VsFTPD, docname, repeat):
95 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
105 def test_31_03_download_10_serial(self, env: Env, vsftpds: VsFTPD, docname, repeat):
107 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
117 def test_31_04_download_10_parallel(self, env: Env, vsftpds: VsFTPD, docname, repeat):
119 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
131 def test_31_05_upload_1(self, env: Env, vsftpds: VsFTPD, docname, repeat):
134 dstfile = os.path.join(vsftpds.docs_dir, docname)
140 self.check_upload(env, vsftpds, docname=docname)
148 def test_31_06_shutdownh_download(self, env: Env, vsftpds: VsFTPD, repeat):
161 def test_31_07_shutdownh_upload(self, env: Env, vsftpds: VsFTPD, repeat):
165 dstfile = os.path.join(vsftpds.docs_dir, docname)
175 def test_31_08_upload_ascii(self, env: Env, vsftpds: VsFTPD):
179 dstfile = os.path.join(vsftpds.docs_dir, docname)
197 def test_31_08_active_download(self, env: Env, vsftpds: VsFTPD):
200 srcfile = os.path.join(vsftpds.docs_dir, f'{docname}')
209 def test_31_09_active_upload(self, env: Env, vsftpds: VsFTPD):
213 dstfile = os.path.join(vsftpds.docs_dir, docname)
221 self.check_upload(env, vsftpds, docname=docname)
226 def test_31_10_upload_stdin(self, env: Env, vsftpds: VsFTPD, indata):
229 dstfile = os.path.join(vsftpds.docs_dir, docname)