blackout: simplify recovery session_id binding to queued value
This commit is contained in:
@@ -6525,6 +6525,7 @@ async def test_process_blackout_recovery_executes_valid_intents() -> None:
|
||||
intent.quantity = 1
|
||||
intent.price = 100.0
|
||||
intent.source = "test"
|
||||
intent.session_id = "NXT_AFTER"
|
||||
intent.attempts = 0
|
||||
|
||||
blackout_manager = MagicMock()
|
||||
@@ -6555,7 +6556,7 @@ async def test_process_blackout_recovery_executes_valid_intents() -> None:
|
||||
assert row is not None
|
||||
assert row[0] == "BUY"
|
||||
assert row[1] == 1
|
||||
assert row[2] == "KRX_REG"
|
||||
assert row[2] == "NXT_AFTER"
|
||||
assert row[3].startswith("[blackout-recovery]")
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user