Home
last modified time | relevance | path

Searched refs:expected_response (Results 1 – 12 of 12) sorted by relevance

/external/u-boot/test/py/tests/
Dtest_md.py16 expected_response = addr + ': ' + val
19 assert(not (expected_response in response))
22 assert(expected_response in response)
35 expected_response = addr_repeat + ': '
36 assert(expected_response in response)
/external/autotest/server/site_tests/firmware_Cr50U2fCommands/
Dfirmware_Cr50U2fCommands.py89 def check_response_size(response, expected_response, success_size): argument
95 if expected_response == VENDOR_CMD_RESPONSE_SUCCESS:
167 expected_response): argument
175 hash, flags), expected_response)
182 check_response_size(response, expected_response, expected_response_size)
188 expected_response=VENDOR_CMD_RESPONSE_SUCCESS): argument
195 expected_response)
197 check_response_size(response, expected_response,
209 expected_response=VENDOR_CMD_RESPONSE_SUCCESS, argument
222 user_secret, format, data_len_str, data), expected_response)
[all …]
/external/python/cpython3/Lib/test/
Dtest_urllib2_localnet.py501 expected_response = b"We got here..."
505 (200, [], expected_response)
510 self.assertEqual(data, expected_response)
514 expected_response = b"hello world"
525 self.assertEqual(data, expected_response)
528 expected_response = b"Bad bad bad..."
529 handler = self.start_server([(404, [], expected_response)])
539 self.assertEqual(data, expected_response)
543 expected_response = b"pycon 2008..."
544 handler = self.start_server([(200, [], expected_response)])
[all …]
/external/python/cpython2/Lib/test/
Dtest_urllib2_localnet.py487 expected_response = 'We got here...'
490 (200, [], expected_response)
499 self.assertEqual(data, expected_response)
504 expected_response = 'Bad bad bad...'
505 handler = self.start_server([(404, [], expected_response)])
517 self.assertEqual(data, expected_response)
522 expected_response = 'pycon 2008...'
523 handler = self.start_server([(200, [], expected_response)])
529 self.assertEqual(data, expected_response)
533 expected_response = 'pycon 2008...'
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/protoc_plugin/
D_python_plugin_test.py255 expected_response = service.servicer_methods.UnaryCall(
257 self.assertEqual(expected_response, response)
267 expected_response = service.servicer_methods.UnaryCall(
269 self.assertEqual(expected_response, response)
310 for expected_response, response in moves.zip_longest(
312 self.assertEqual(expected_response, response)
354 expected_response = service.servicer_methods.StreamingInputCall(
356 self.assertEqual(expected_response, response)
365 expected_response = service.servicer_methods.StreamingInputCall(
367 self.assertEqual(expected_response, response)
[all …]
Dbeta_python_plugin_test.py375 expected_response = methods.UnaryCall(request, 'not a real context!')
376 self.assertEqual(expected_response, response)
389 expected_response = methods.UnaryCall(request, 'not a real RpcContext!')
390 self.assertEqual(expected_response, response)
436 for expected_response, response in moves.zip_longest(
438 self.assertEqual(expected_response, response)
486 expected_response = methods.StreamingInputCall(
490 self.assertEqual(expected_response, response)
503 expected_response = methods.StreamingInputCall(
507 self.assertEqual(expected_response, response)
[all …]
/external/grpc-grpc/src/python/grpcio_tests/tests/unit/
D_rpc_test.py207 expected_response = self._handler.handle_unary_unary(request, None)
214 self.assertEqual(expected_response, response)
218 expected_response = self._handler.handle_unary_unary(request, None)
226 self.assertEqual(expected_response, response)
232 expected_response = self._handler.handle_unary_unary(request, None)
242 self.assertEqual(expected_response, response)
262 expected_response = self._handler.handle_stream_unary(
272 self.assertEqual(expected_response, response)
277 expected_response = self._handler.handle_stream_unary(
288 self.assertEqual(expected_response, response)
[all …]
/external/tensorflow/tensorflow/lite/models/smartreply/
Dpredictor_test.cc45 MATCHER_P(IncludeAnyResponesIn, expected_response, "contains the response") {
49 if (expected_response.find(response) != expected_response.end()) {
/external/autotest/client/common_lib/cros/
Ddev_server.py1178 expected_response=SUCCESS, **kwargs): argument
1209 if expected_response and not response == expected_response:
1529 error_message, expected_response=SUCCESS): argument
1551 expected_response, **kwargs)
2554 expected_response=SUCCESS): argument
2584 return self._call_and_wait(call_name, error_message, expected_response,
/external/python/apitools/apitools/base/py/
Dbatch_test.py442 expected_response = http_wrapper.Response({
453 expected_response,
/external/tensorflow/tensorflow/core/platform/cloud/
Dcurl_http_request_test.cc302 string expected_response = "get response"; in TEST() local
305 EXPECT_EQ(expected_response.size(), response_bytes_transferred); in TEST()
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py795 self.transport.write(expected_response)
804 expected_response = b'roger'
838 self.assertEqual(response, expected_response)