mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 02:34:29 +00:00
improve tests descr
This commit is contained in:
parent
124eb0c4c4
commit
04f2c5f723
1 changed files with 5 additions and 1 deletions
|
@ -244,6 +244,8 @@ def test_watsonx_deployment(watsonx_chat_completion_call, model):
|
||||||
|
|
||||||
assert mock_post.call_count == 1
|
assert mock_post.call_count == 1
|
||||||
json_data = json.loads(mock_post.call_args.kwargs["data"])
|
json_data = json.loads(mock_post.call_args.kwargs["data"])
|
||||||
|
|
||||||
|
# nor space_id or project_id is required by wx.ai API when inferencing deployment
|
||||||
assert "project_id" not in json_data and "space_id" not in json_data
|
assert "project_id" not in json_data and "space_id" not in json_data
|
||||||
|
|
||||||
|
|
||||||
|
@ -255,4 +257,6 @@ def test_watsonx_deployment_space_id_embedding(monkeypatch, watsonx_embedding_ca
|
||||||
|
|
||||||
assert mock_post.call_count == 1
|
assert mock_post.call_count == 1
|
||||||
json_data = json.loads(mock_post.call_args.kwargs["data"])
|
json_data = json.loads(mock_post.call_args.kwargs["data"])
|
||||||
assert "space_id" not in json_data
|
|
||||||
|
# nor space_id or project_id is required by wx.ai API when inferencing deployment
|
||||||
|
assert "project_id" not in json_data and "space_id" not in json_data
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue