From e2b89d45bfbe1b61667f178b2c054577a08b3318 Mon Sep 17 00:00:00 2001 From: Xubin Ren <52506698+Re-bin@users.noreply.github.com> Date: Wed, 30 Sep 2026 13:37:16 +0800 Subject: [PATCH] test(codex): align catalog wire expectation with updated base --- tests/providers/test_oauth_model_catalog.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/providers/test_oauth_model_catalog.py b/tests/providers/test_oauth_model_catalog.py index 063b316c6..f569220e0 100644 --- a/tests/providers/test_oauth_model_catalog.py +++ b/tests/providers/test_oauth_model_catalog.py @@ -230,8 +230,8 @@ def test_openai_codex_catalog_uses_account_catalog_and_filters_hidden_models( request = captured["request"] assert isinstance(request, httpx.Request) assert request.url.copy_with(query=None) == httpx.URL(DEFAULT_OPENAI_CODEX_MODELS_URL) - # Assert the validated wire version, not the same constant used by the request. - assert request.url.params["client_version"] == "0.158.0" + # Assert the release-independent wire version, not the constant used by the request. + assert request.url.params["client_version"] == "99.99.99" assert request.headers["Authorization"] == "Bearer secret" assert request.headers["chatgpt-account-id"] == "account-42"