def testNone(self): self.assertListEqual(list(ancestors(None)), [None,])
def checkAncestor(self, path, expected): self.assertListEqual(list(ancestors(path)), self.expected[expected], "\n while checking the ancestors of path %s" % repr(path))