litellm/tests/windows_tests/test_litellm_on_windows.py
devin-ai-integration[bot] 16fcbffa7f
test: move packaging and install checks off CircleCI build_and_test (#45757)
* test: move packaging and install tests to unit and integration

* test: move packaging and install checks to smoke and integration

* test: keep the boot check proxy on its scratch database in replica mode

* test: restore install imports and address review findings on packaging checks

---------

Co-authored-by: yuneng <yuneng@berri.ai>
2026-10-10 09:33:51 -07:00

17 lines
517 B
Python

from typing import Final
import litellm
MOCK_REPLY: Final = "windows runtime reply"
def test_using_litellm_on_windows() -> None:
response: Final = litellm.completion(
model="gpt-4o",
messages=[{"role": "user", "content": "windows smoke"}],
mock_response=MOCK_REPLY,
)
assert response.choices[0].message.content == MOCK_REPLY
assert response.choices[0].message.role == "assistant"
assert response.choices[0].finish_reason == "stop"
assert response.model == "gpt-4o"