• Home
  • Raw
  • Download

Lines Matching refs:mock_wait

213         mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
223 mock_wait.assert_called_with(
238 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
248 mock_wait.assert_called_with(
264 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
274 mock_wait.assert_called_with(
327 def testCreateImageFail(self, mock_wait, mock_check, mock_delete): argument
348 mock_wait.assert_called_with(
376 def testDeleteImage(self, mock_wait): argument
385 self.assertTrue(mock_wait.called)
405 def testDeleteImages(self, mock_wait): argument
423 self.assertEqual(mock_wait.call_count, 2)
516 def testCreateInstance(self, mock_wait, mock_get_mach_type, argument
575 mock_wait.assert_called_with(
586 def testCreateInstanceWithGpu(self, mock_wait, mock_get_mach, argument
646 mock_wait.assert_called_with(
651 def testDeleteInstance(self, mock_wait): argument
661 mock_wait.assert_called_with(
667 def testDeleteInstances(self, mock_wait): argument
689 self.assertEqual(mock_wait.call_count, 2)
698 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
719 self.assertTrue(mock_wait.called)
725 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
746 self.assertTrue(mock_wait.called)
752 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
777 self.assertTrue(mock_wait.called)
783 mock_wait = self.Patch(gcompute_client.ComputeClient, "WaitOnOperation")
808 self.assertTrue(mock_wait.called)
811 def testAttachDisk(self, mock_wait): argument
828 self.assertTrue(mock_wait.called)
831 def testDetachDisk(self, mock_wait): argument
843 self.assertTrue(mock_wait.called)
847 def testAttachAccelerator(self, mock_wait, mock_get_accel): argument
866 self.assertTrue(mock_wait.called)
869 def testBatchExecuteOnInstances(self, mock_wait): argument
879 self.assertEqual(mock_wait.call_count, 2)
885 def testResetInstance(self, mock_wait): argument
895 mock_wait.assert_called_with(
1283 def testDeleteDisks(self, mock_wait): argument
1301 self.assertEqual(mock_wait.call_count, 2)