def test_locate_ab_z_raises_NotFoundError(self): with self.assertRaises(m.NotFoundError): m.locate(ConcretePath('/a/b'), 'z')
def check(self, expected, orig, name): self.assertEqual( expected, m.locate(ConcretePath(orig), name).path )