Skip to content

Commit 514c29c

Browse files
committed
test(api): fix error context field name in test
Update test to match API change from "function_name" to "name" in error response context.
1 parent 23a20f4 commit 514c29c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/test_connection.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ def test_unknown_message(udp_client: socket.socket) -> None:
117117
data, _ = udp_client.recvfrom(BUFFER_SIZE)
118118
response = data.decode().strip()
119119
error_response = json.loads(response)
120-
assert_error_response(error_response, "Unknown function name", ["function_name"])
120+
assert_error_response(error_response, "Unknown function name", ["name"])
121121

122122
# Verify server is still responsive
123123
send_api_message(udp_client, "get_game_state", {})

0 commit comments

Comments
 (0)