コード例 #1
0
ファイル: test_zippath.py プロジェクト: ling-1/GETAiqiyiDanmu
 def setUp(self):
     AbstractFilePathTests.setUp(self)
     zipit(self.cmn, self.cmn + b".zip")
     self.nativecmn = _coerceToFilesystemEncoding("", self.cmn)
     self.path = ZipArchive(self.cmn + b".zip")
     self.root = self.path
     self.all = [x.replace(self.cmn, self.cmn + b".zip") for x in self.all]
コード例 #2
0
ファイル: test_zippath.py プロジェクト: Architektor/PySnip
 def setUp(self):
     AbstractFilePathTests.setUp(self)
     zipit(self.cmn, self.cmn + b'.zip')
     self.nativecmn = _coerceToFilesystemEncoding('', self.cmn)
     self.path = ZipArchive(self.cmn + b'.zip')
     self.root = self.path
     self.all = [x.replace(self.cmn, self.cmn + b'.zip')
                 for x in self.all]
コード例 #3
0
 def setUp(self):
     AbstractFilePathTests.setUp(self)
     zipit(self.cmn, self.cmn + '.zip')
     self.path = ZipArchive(self.cmn + '.zip')
     self.root = self.path
     self.all = [x.replace(self.cmn, self.cmn + '.zip') for x in self.all]
コード例 #4
0
ファイル: test_zippath.py プロジェクト: DT021/wau
 def setUp(self):
     AbstractFilePathTests.setUp(self)
     zipit(self.cmn, self.cmn + '.zip')
     self.path = ZipArchive(self.cmn + '.zip')
     self.root = self.path
     self.all = [x.replace(self.cmn, self.cmn + '.zip') for x in self.all]