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