From 807ddd8b089e8517bbe030f9ac1e5f25cadb2e27 Mon Sep 17 00:00:00 2001 From: Chen-ROE Date: Thu, 8 Oct 2026 11:21:27 -0700 Subject: [PATCH] test: add browser_session_expires_at to the connection fixture Release 1-1-0 adds browser_session_expires_at as a read-only, nullable field on Connection. drf-spectacular marks read-only fields required, so the generated Connection.from_dict pops the key with no default and the hand-written fixture behind the wrapper transport tests fails with KeyError (roe-python#83). The key is harmless on the current generated model, which routes unknown keys to additional_properties, so this can land ahead of the release PR; it must land on main because the fan-out resets the release-sdk-* branch on every release-branch push. Co-Authored-By: Claude Fable 5.1 --- tests/unit/test_connections_wrapper_transport.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/unit/test_connections_wrapper_transport.py b/tests/unit/test_connections_wrapper_transport.py index 683d186..00e23b4 100644 --- a/tests/unit/test_connections_wrapper_transport.py +++ b/tests/unit/test_connections_wrapper_transport.py @@ -30,6 +30,7 @@ def _connection_json() -> dict[str, object]: "credentials_configured": True, "dynamic_inputs": {}, "dynamic_input_test_disabled_reason": None, + "browser_session_expires_at": None, "status": "active", }