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