Exemplo n.º 1
0
 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")
Exemplo n.º 2
0
 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)