Lines Matching refs:vsftpd

44     def vsftpd(self, env):  member in TestVsFTPD
45 vsftpd = VsFTPD(env=env)
46 assert vsftpd.start()
47 yield vsftpd
48 vsftpd.stop()
61 def _class_scope(self, env, vsftpd): argument
62 if os.path.exists(vsftpd.docs_dir):
63 shutil.rmtree(vsftpd.docs_dir)
64 if not os.path.exists(vsftpd.docs_dir):
65 os.makedirs(vsftpd.docs_dir)
66 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-1k', fsize=1024)
67 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-10k', fsize=10*1024)
68 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-1m', fsize=1024*1024)
69 self._make_docs_file(docs_dir=vsftpd.docs_dir, fname='data-10m', fsize=10*1024*1024)
74 def test_30_01_list_dir(self, env: Env, vsftpd: VsFTPD, repeat):
86 def test_30_02_download_1(self, env: Env, vsftpd: VsFTPD, docname, repeat):
88 srcfile = os.path.join(vsftpd.docs_dir, f'{docname}')
98 def test_30_03_download_10_serial(self, env: Env, vsftpd: VsFTPD, docname, repeat):
100 srcfile = os.path.join(vsftpd.docs_dir, f'{docname}')
110 def test_30_04_download_10_parallel(self, env: Env, vsftpd: VsFTPD, docname, repeat):
112 srcfile = os.path.join(vsftpd.docs_dir, f'{docname}')
124 def test_30_05_upload_1(self, env: Env, vsftpd: VsFTPD, docname, repeat):
127 dstfile = os.path.join(vsftpd.docs_dir, docname)
133 self.check_upload(env, vsftpd, docname=docname)
141 def test_30_06_shutdownh_download(self, env: Env, vsftpd: VsFTPD, repeat):
153 def test_30_07_shutdownh_upload(self, env: Env, vsftpd: VsFTPD, repeat):
157 dstfile = os.path.join(vsftpd.docs_dir, docname)
166 def test_30_08_active_download(self, env: Env, vsftpd: VsFTPD):
169 srcfile = os.path.join(vsftpd.docs_dir, f'{docname}')
178 def test_30_09_active_upload(self, env: Env, vsftpd: VsFTPD):
182 dstfile = os.path.join(vsftpd.docs_dir, docname)
190 self.check_upload(env, vsftpd, docname=docname)
205 def check_upload(self, env, vsftpd: VsFTPD, docname):
207 dstfile = os.path.join(vsftpd.docs_dir, docname)