52
52
self.assertEqual(local_path_to_url('../other_branch'), b.get_parent())
53
53
path = local_path_to_url('../yanb')
57
56
self.assertEqual(path, b.get_parent())
60
59
self.assertRaises(bzrlib.errors.InvalidURL, b.set_parent, u'\xb5')
61
60
b.set_parent(escape(u'\xb5'))
65
63
self.assertEqual(b.base + '%C2%B5', b.get_parent())