Lines Matching refs:ComputeClient
73 self.Patch(gcompute_client.ComputeClient, "InitResourceHandle")
77 self.compute_client = gcompute_client.ComputeClient(
210 mock_check = self.Patch(gcompute_client.ComputeClient,
213 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
235 mock_check = self.Patch(gcompute_client.ComputeClient,
238 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
261 mock_check = self.Patch(gcompute_client.ComputeClient,
264 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
279 @mock.patch.object(gcompute_client.ComputeClient, "GetImage")
308 self.Patch(gcompute_client.ComputeClient, "CheckImageExists", return_value=False)
317 self.Patch(gcompute_client.ComputeClient, "CheckImageExists", return_value=False)
322 @mock.patch.object(gcompute_client.ComputeClient, "DeleteImage")
323 @mock.patch.object(gcompute_client.ComputeClient, "CheckImageExists",
325 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation",
375 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
404 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
436 gcompute_client.ComputeClient,
455 self.Patch(gcompute_client.ComputeClient, "Execute", side_effect=[response])
488 gcompute_client.ComputeClient,
511 @mock.patch.object(gcompute_client.ComputeClient, "GetImage")
512 @mock.patch.object(gcompute_client.ComputeClient, "GetNetworkUrl")
513 @mock.patch.object(gcompute_client.ComputeClient, "GetSubnetworkUrl")
514 @mock.patch.object(gcompute_client.ComputeClient, "GetMachineType")
515 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
580 @mock.patch.object(gcompute_client.ComputeClient, "GetAcceleratorUrl")
581 @mock.patch.object(gcompute_client.ComputeClient, "GetImage")
582 @mock.patch.object(gcompute_client.ComputeClient, "GetNetworkUrl")
583 @mock.patch.object(gcompute_client.ComputeClient, "GetSubnetworkUrl")
584 @mock.patch.object(gcompute_client.ComputeClient, "GetMachineType")
585 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
650 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
666 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
698 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
725 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
752 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
783 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
810 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
830 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
845 @mock.patch.object(gcompute_client.ComputeClient, "GetAcceleratorUrl")
846 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
868 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
884 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")
914 gcompute_client.ComputeClient,
1036 gcompute_client.ComputeClient,
1160 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
1247 self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
1255 gcompute_client.ComputeClient, "GetInstance",
1272 gcompute_client.ComputeClient, "GetInstance",
1282 @mock.patch.object(gcompute_client.ComputeClient, "WaitOnOperation")