Harden it up

This commit is contained in:
Daniel Sapkota
2026-07-05 18:47:11 -04:00
parent 04179bc344
commit cb4438655c
15 changed files with 943 additions and 68 deletions
+2 -1
View File
@@ -55,7 +55,8 @@ async def test_paper_gateway_places_and_cancels_without_wallet(meta):
async def test_paper_gateway_heartbeat_and_cancel_all_noop():
gw = ExecutionGateway(Config(), paper=True)
await gw.heartbeat("hb1")
assert await gw.heartbeat() is True # paper: healthy no-op
assert gw.heartbeat_failures == 0
await gw.cancel_all() # no client, must not raise