Lines Matching refs:Patch
51 self.Patch(gcompute_client.ComputeClient, "InitResourceHandle")
133 self.Patch(utils, "PollAndWait")
134 self.Patch(errors, "GceOperationTimeoutError", return_value=mock_error)
152 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
174 self.Patch(
178 self.Patch(
182 self.Patch(gcompute_client.ComputeClient, "DeleteImage")
232 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
258 self.Patch(apiclient.http, "BatchHttpRequest", return_value=mock_batch)
263 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
291 self.Patch(
328 self.Patch(
354 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
355 self.Patch(
359 self.Patch(
363 self.Patch(
424 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
441 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
468 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
484 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
511 self.Patch(
619 self.Patch(
662 self.Patch(os.path, "exists", return_value=True)
664 self.Patch(__builtins__, "open", m, create=True)
665 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
666 self.Patch(
693 self.Patch(os.path, "exists", return_value=True)
695 self.Patch(__builtins__, "open", m, create=True)
696 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
697 self.Patch(
706 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")