Lines Matching refs:payload
205 def TestCommand(self, payload_cmd, payload, expected_out): argument
211 with mock.patch.object(update_payload, 'Payload', return_value=payload), \
225 payload = FakePayload()
234 self.TestCommand(payload_cmd, payload, expected_out)
240 payload = FakePayload()
263 self.TestCommand(payload_cmd, payload, expected_out)
269 payload = FakePayload()
281 self.TestCommand(payload_cmd, payload, expected_out)
287 payload = FakePayload()
298 self.TestCommand(payload_cmd, payload, expected_out)
304 payload = FakePayload()
305 payload.AddPayloadSignature(version=1,
307 payload.AddPayloadSignature(data=b'I am a signature so access is yes.')
308 payload.AddMetadataSignature(data=b'\x00\x0a\x0c')
330 self.TestCommand(payload_cmd, payload, expected_out)