From 0e1314aeb6b3ffc6216110c83db113727030de02 Mon Sep 17 00:00:00 2001 From: rp-maintainers Date: Thu, 6 Aug 2026 06:02:13 +0000 Subject: [PATCH] chore(tests): use a neutral example host in the base_url test The base_url override test used a real customer's branded gateway hostname. A public SDK test should not name an actual deployment. Replaced with `gateway.example.com`. The assertion is unchanged in substance -- it checks that a caller-supplied base_url reaches the underlying client verbatim, and any host proves that equally well. --- tests/test_client.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_client.py b/tests/test_client.py index ea45c2a..eb47ee6 100644 --- a/tests/test_client.py +++ b/tests/test_client.py @@ -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():