Skip to content

Commit

Permalink
Temporarily turn off checks for additional fields REST
Browse files Browse the repository at this point in the history
  • Loading branch information
atobiszei committed Oct 10, 2023
1 parent 7803047 commit 90a27c0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/functional/test_model_version_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def test_get_model_status_rest(self, model_version_policy_models,
output_json = result.text
status_pb = get_model_status_pb2.GetModelStatusResponse()
response = Parse(output_json, status_pb,
ignore_unknown_fields=False)
ignore_unknown_fields=True)
versions_statuses = response.model_version_status
version_status = versions_statuses[0]
assert version_status.version == versions[x]
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/utils/rest.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ def infer_rest(img, input_tensor, rest_url,
def get_model_metadata_response_rest(rest_url):
_txt, _ = _get_output_json(rest_url, requests.get)
metadata_pb = get_model_metadata_pb2.GetModelMetadataResponse()
response = Parse(_txt, metadata_pb, ignore_unknown_fields=False)
response = Parse(_txt, metadata_pb, ignore_unknown_fields=True)
return response


Expand Down

0 comments on commit 90a27c0

Please sign in to comment.