Ack Cut D: fix the C# using and the Python request encoding in the new tests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-09-30 00:56:51 +02:00
commit ce552b0e1b
2 changed files with 2 additions and 1 deletions

View file

@ -4536,7 +4536,7 @@ class CultMeshRudpSendFailureTests(unittest.TestCase):
raise OSError("injected send failure")
return original_sendto(sock, data, *args)
request = msgpack.packb(hello(runtime_id="probe"), use_bin_type=True)
request = hello(runtime_id="probe").to_bytes()
with patch.object(socket.socket, "sendto", sendto):
# The server's reply and ack to X both fail to send.
x.send("schema", request)

View file

@ -1,4 +1,5 @@
#nullable enable
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net;