Searched refs:expected_body (Results 1 – 4 of 4) sorted by relevance
/external/python/google-api-python-client/googleapiclient/ |
D | http.py | 1654 expected_body = response[2] 1655 if bool(expected_body) != bool(body): 1658 raise UnexpectedBodyError(expected_body, body) 1659 if isinstance(expected_body, str): 1660 expected_body = json.loads(expected_body) 1662 if body != expected_body: 1663 raise UnexpectedBodyError(expected_body, body)
|
/external/grpc-grpc/test/core/security/ |
D | credentials_test.cc | 629 char* expected_body = nullptr; in validate_refresh_token_http_request() local 632 gpr_asprintf(&expected_body, GRPC_REFRESH_TOKEN_POST_BODY_FORMAT_STRING, in validate_refresh_token_http_request() 636 GPR_ASSERT(strlen(expected_body) == body_size); in validate_refresh_token_http_request() 637 GPR_ASSERT(memcmp(expected_body, body, body_size) == 0); in validate_refresh_token_http_request() 638 gpr_free(expected_body); in validate_refresh_token_http_request()
|
/external/python/cpython3/Lib/test/ |
D | test_httplib.py | 391 expected_body = b"It's just a flesh wound" variable in TransferEncodingTest 401 self.assertEqual(body, self.expected_body) 415 self.assertEqual(body, self.expected_body) 421 'POST', '/', self.expected_body.decode('latin-1'), 427 self.assertEqual(body, self.expected_body) 439 self.assertEqual(self._parse_chunked(body), self.expected_body) 450 self.assertEqual(body, self.expected_body) 468 lines = self.expected_body.split(b' ')
|
/external/rust/crates/grpcio-sys/grpc/test/core/security/ |
D | credentials_test.cc | 779 std::string expected_body = absl::StrFormat( in validate_refresh_token_http_request() local 783 GPR_ASSERT(expected_body.size() == body_size); in validate_refresh_token_http_request() 784 GPR_ASSERT(memcmp(expected_body.data(), body, body_size) == 0); in validate_refresh_token_http_request()
|