From 341b2f0a8c1e473c2c87fecf68a30f2a6f202cbd Mon Sep 17 00:00:00 2001 From: Ouziel Slama Date: Mon, 16 Dec 2024 12:37:31 +0000 Subject: [PATCH] fix pytest --- .../test/fixtures/contract_vectors/dispenser.py | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/counterparty-core/counterpartycore/test/fixtures/contract_vectors/dispenser.py b/counterparty-core/counterpartycore/test/fixtures/contract_vectors/dispenser.py index 0f9c481cd8..e7ac771a8a 100644 --- a/counterparty-core/counterpartycore/test/fixtures/contract_vectors/dispenser.py +++ b/counterparty-core/counterpartycore/test/fixtures/contract_vectors/dispenser.py @@ -299,13 +299,23 @@ "dispense": { "compose": [ { - "in": (ADDR[0], ADDR[5], 10), + "in": (ADDR[0], ADDR[5], 100), "out": ( ADDR[0], - [(ADDR[5], 10)], + [(ADDR[5], 100)], b"\r\x00", ), }, + { + "in": (ADDR[0], ADDR[5], 10), + "error": ( + exceptions.ComposeError, + [ + "not enough BTC to trigger dispenser for XCP", + "not enough BTC to trigger dispenser for TESTDISP", + ], + ), + }, { "in": (ADDR[0], ADDR[5], 10000), "error": (