def setUp(self): self.blob_class = create_autospec(Blob) self.blob_obj = self.blob_class("blob", "blob") self.mock_client = create_autospec(Client) self.storage = gcs(client=self.mock_client()) self.content = StringIO("content")
def setUp(self): self.blob_class = create_autospec(Blob) self.blob_obj = self.blob_class("blob", "blob") self.mock_client = create_autospec(Client) self.storage = gcs(client=self.mock_client()) self.local_file = mixer.blend(self.RandomFileSchema)