Lines Matching refs:response
404 request_id=rid, response=mock.MagicMock(), exception=None)
460 response = {"items": [image]}
461 self.Patch(gcompute_client.ComputeClient, "Execute", side_effect=[response])
490 response = {"items": {'zones/fake_zone': {"instances": [instance_1, instance_2]}}}
494 side_effect=[response])
512 response = {"items": {'zones/fake_zone': {"instances": [instance_1]}}}
516 side_effect=[response])
522 response = {"items": {'zones/fake_zone': {"warning": "No instances."}}}
526 side_effect=[response])
1104 def _GetSerialPortOutputTestHelper(self, response): argument
1116 mock_api.execute = mock.MagicMock(return_value=response)
1118 if "contents" in response:
1138 response = {"contents": "fake contents"}
1139 self._GetSerialPortOutputTestHelper(response)
1143 response = {"malformed": "fake contents"}
1144 self._GetSerialPortOutputTestHelper(response)