Lines Matching refs:self
44 def vsftpd(self, env): argument
50 def _make_docs_file(self, docs_dir: str, fname: str, fsize: int): argument
61 def _class_scope(self, env, vsftpd): argument
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): argument
86 def test_30_02_download_1(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument
93 self.check_downloads(curl, srcfile, count)
98 def test_30_03_download_10_serial(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument
105 self.check_downloads(curl, srcfile, count)
110 def test_30_04_download_10_parallel(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument
119 self.check_downloads(curl, srcfile, count)
124 def test_30_05_upload_1(self, env: Env, vsftpd: VsFTPD, docname, repeat): argument
128 self._rmf(dstfile)
133 self.check_upload(env, vsftpd, docname=docname)
135 def _rmf(self, path): argument
141 def test_30_06_shutdownh_download(self, env: Env, vsftpd: VsFTPD, repeat): argument
153 def test_30_07_shutdownh_upload(self, env: Env, vsftpd: VsFTPD, repeat): argument
158 self._rmf(dstfile)
166 def test_30_08_active_download(self, env: Env, vsftpd: VsFTPD): argument
176 self.check_downloads(curl, srcfile, count)
178 def test_30_09_active_upload(self, env: Env, vsftpd: VsFTPD): argument
183 self._rmf(dstfile)
190 self.check_upload(env, vsftpd, docname=docname)
192 def check_downloads(self, client, srcfile: str, count: int, argument
205 def check_upload(self, env, vsftpd: VsFTPD, docname): argument