Lines Matching refs:mock_wait
218 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
228 mock_wait.assert_called_with(
243 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
253 mock_wait.assert_called_with(
269 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
279 mock_wait.assert_called_with(
332 def testCreateImageFail(self, mock_wait, mock_check, mock_delete): argument
354 mock_wait.assert_called_with(
382 def testDeleteImage(self, mock_wait): argument
391 self.assertTrue(mock_wait.called)
413 def testDeleteImages(self, mock_wait): argument
431 self.assertEqual(mock_wait.call_count, 2)
560 def testCreateInstance(self, _get_user, mock_wait, mock_get_mach_type, argument
621 mock_wait.assert_called_with(
635 mock_wait, argument
700 mock_wait.assert_called_with(
712 def testCreateInstanceWithGpu(self, _get_user, mock_wait, mock_get_mach, argument
774 mock_wait.assert_called_with(
779 def testDeleteInstance(self, mock_wait): argument
789 mock_wait.assert_called_with(
795 def testDeleteInstances(self, mock_wait): argument
817 self.assertEqual(mock_wait.call_count, 2)
826 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
847 self.assertTrue(mock_wait.called)
853 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
874 self.assertTrue(mock_wait.called)
880 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
905 self.assertTrue(mock_wait.called)
911 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
936 self.assertTrue(mock_wait.called)
939 def testAttachDisk(self, mock_wait): argument
956 self.assertTrue(mock_wait.called)
959 def testDetachDisk(self, mock_wait): argument
971 self.assertTrue(mock_wait.called)
975 def testAttachAccelerator(self, mock_wait, mock_get_accel): argument
994 self.assertTrue(mock_wait.called)
997 def testBatchExecuteOnInstances(self, mock_wait): argument
1007 self.assertEqual(mock_wait.call_count, 2)
1013 def testResetInstance(self, mock_wait): argument
1023 mock_wait.assert_called_with(
1413 def testDeleteDisks(self, mock_wait): argument
1431 self.assertEqual(mock_wait.call_count, 2)