def test_delete_entry(self):
entry = CLIENT.entries(PLAYGROUND_SPACE).find('4RToqNcBfW6MAK0UGU0qWc')
with vcr.use_cassette('fixtures/entry/delete.yaml'):
entry.delete()
with vcr.use_cassette('fixtures/entry/not_found.yaml'):
with self.assertRaises(NotFoundError):
CLIENT.entries(PLAYGROUND_SPACE).find('4RToqNcBfW6MAK0UGU0qWc')
评论列表
文章目录