Exemplo n.º 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)
Exemplo n.º 2
0
 def testZipDirAll(self):
     zu.zip_dir(TESTROOT, self.zippath)
     self.assertZip(IDEAL_ALL)