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