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:
parent
0b2f580c82
commit
ce552b0e1b
2 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -1,4 +1,5 @@
|
|||
#nullable enable
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Net;
|
||||
|
|
|
|||
Loading…
Reference in a new issue