From aeea4bb3f896102e484602e9bae3406db348966b Mon Sep 17 00:00:00 2001 From: Yellowcooln <12516003+yellowcooln@users.noreply.github.com> Date: Tue, 9 Jun 2026 16:10:37 -0400 Subject: [PATCH] Format OpenAPI identity test --- tests/test_openapi_identity_contract.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/test_openapi_identity_contract.py b/tests/test_openapi_identity_contract.py index fdfa743..ff97dea 100644 --- a/tests/test_openapi_identity_contract.py +++ b/tests/test_openapi_identity_contract.py @@ -13,11 +13,9 @@ def test_create_identity_schema_matches_supported_identity_types(): properties = schema["properties"] assert properties["type"]["enum"] == ["companion", "room_server"] - assert {"node_name", "tcp_port", "bind_address"} <= set( - properties["settings"]["properties"] - ) + assert {"node_name", "tcp_port", "bind_address"} <= set(properties["settings"]["properties"]) assert set( - spec["paths"]["/create_identity"]["post"]["requestBody"]["content"][ - "application/json" - ]["examples"] + spec["paths"]["/create_identity"]["post"]["requestBody"]["content"]["application/json"][ + "examples" + ] ) == {"companion", "room_server"}