示例#1
0
 def testZipDirFiltered(self):
     include = lambda p: p.endswith('.fake')
     exclude = lambda p: p.endswith('b.fake')
     zu.zip_dir(TESTROOT, self.zippath, include, exclude)
     self.assertZip(IDEAL_FILTERED)
示例#2
0
 def testZipDirAll(self):
     zu.zip_dir(TESTROOT, self.zippath)
     self.assertZip(IDEAL_ALL)