def test5(self): zip_files("test", "test/zipwpath.zip", filter_func=lambda path:is_match_patterns(path, ["\.csv$"]) )
def test1(self): self.assertEqual(is_match_patterns("abcdef",["ab","cd"]),True) self.assertEqual(is_match_patterns("abcdef",["gh","ij"]),False)