def test_delete(self):
# GDrive requires the file id in the URL, the file_id is assigned by
# Google, and therefore is stored in ChunkStorage.attrs.
httpretty.register_uri(
httpretty.DELETE,
GDriveAPIClient.DELETE_URL[1].format(file_id='abc123'),
body=TEST_CHUNK_BODY)
self.client.delete(self.chunk)
评论列表
文章目录