mirror of
https://github.com/Routstr/routstr-core.git
synced 2026-10-06 04:38:22 +00:00
test: pin the verbatim production error from issue #468 as retryable
The reported error carries cashu-py's "could not pay invoice" wrapper around the mint detail; the classifier must still find the code and the shortfall inside it. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
cbdbe4b899
commit
eb6dc5189c
@@ -556,6 +556,13 @@ async def test_net_minted_amount_unit_conversions(
|
||||
"Provided: 179, needed: 182 (Code: 11000)",
|
||||
3,
|
||||
),
|
||||
# verbatim production error from issue #468, including cashu-py's
|
||||
# "could not pay invoice" wrapper around the mint detail
|
||||
(
|
||||
"could not pay invoice: Mint Error: not enough inputs provided "
|
||||
"for melt. Provided: 179, needed: 180 (Code: 11000)",
|
||||
1,
|
||||
),
|
||||
# cdk: registered TransactionUnbalanced code, no parsable amounts
|
||||
("Mint Error: Transaction unbalanced: 179, 178, 2 (Code: 11005)", 1),
|
||||
# nutshell wording without a code suffix
|
||||
|
||||
Reference in New Issue
Block a user