def testRoot(self): path, node, cond = ypath.yparse("/") self.assertEqual(path, ()) self.assertIsNone(node) self.assertIsNone(cond)
def testNone(self): path, node, cond = ypath.yparse("") self.assertIsNone(path) self.assertIsNone(node) self.assertIsNone(cond)