def test__get_path_direct(self): self.assertEquals(4, utils.get_path(self.conf, "d"))
def test__invalid_path_getting(self): with self.assertRaises(exceptions.InvalidPath): utils.get_path(self.conf, "a.g.d")