Skip to content

Commit

Permalink
Verify all error attrs are asserted
Browse files Browse the repository at this point in the history
  • Loading branch information
hmstepanek committed Dec 13, 2023
1 parent e3c4593 commit dc0f7d2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/mlmodel_openai/test_chat_completion_error_v1.py
Original file line number Diff line number Diff line change
Expand Up @@ -345,6 +345,7 @@ def test_chat_completion_invalid_request_error_invalid_model_async(loop, set_tra
"intrinsic": {},
"user": {
"http.statusCode": 401,
"error.code": "invalid_api_key",
},
},
)
Expand Down Expand Up @@ -383,6 +384,7 @@ def test_chat_completion_wrong_api_key_error(monkeypatch, set_trace_info, sync_o
"intrinsic": {},
"user": {
"http.statusCode": 401,
"error.code": "invalid_api_key",
},
},
)
Expand Down

0 comments on commit dc0f7d2

Please sign in to comment.