def testFindall(self): res = findall_path(self.mp4, './child1/gc') self.assertEquals(2, len(res)) all = findall_path(self.mp4, './/gc') self.assertEquals(2, len(all))
def findall(self, path): return findall_path(self, path)