def test_delete_role(self):
role = CLIENT.roles(PLAYGROUND_SPACE).find('1a6FSwjdLnKifppXvfELau')
with vcr.use_cassette('fixtures/role/delete.yaml'):
role.delete()
with vcr.use_cassette('fixtures/role/not_found.yaml'):
with self.assertRaises(NotFoundError):
CLIENT.roles(PLAYGROUND_SPACE).find('1a6FSwjdLnKifppXvfELau')
评论列表
文章目录