Lines Matching refs:response
403 request_id=rid, response=mock.MagicMock(), exception=None)
461 response = {"items": [image]}
462 self.Patch(gcompute_client.ComputeClient, "Execute", side_effect=[response])
491 response = {"items": {'zones/fake_zone': {"instances": [instance_1, instance_2]}}}
495 side_effect=[response])
513 response = {"items": {'zones/fake_zone': {"instances": [instance_1]}}}
517 side_effect=[response])
523 response = {"items": {'zones/fake_zone': {"warning": "No instances."}}}
527 side_effect=[response])
1105 def _GetSerialPortOutputTestHelper(self, response): argument
1117 mock_api.execute = mock.MagicMock(return_value=response)
1119 if "contents" in response:
1139 response = {"contents": "fake contents"}
1140 self._GetSerialPortOutputTestHelper(response)
1144 response = {"malformed": "fake contents"}
1145 self._GetSerialPortOutputTestHelper(response)