Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tests/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ def test_client_default_base_url_and_no_extra_headers():
def test_client_base_url_override():
captured, patcher = _capture_openai_init(openai.OpenAI)
with patcher:
Routeplane(api_key="rp_test", base_url="https://garth.routeplane.ai/v1")
assert captured["base_url"] == "https://garth.routeplane.ai/v1"
Routeplane(api_key="rp_test", base_url="https://gateway.example.com/v1")
assert captured["base_url"] == "https://gateway.example.com/v1"


def test_client_merges_caller_default_headers():
Expand Down
Loading