From 60eb437f99b976f699795b13b1446346114c44ce Mon Sep 17 00:00:00 2001 From: SomberNight Date: Fri, 1 Aug 2025 14:41:28 +0000 Subject: [PATCH] tests: commands: fix assertRaises in test_hold_invoice_commands --- tests/test_commands.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_commands.py b/tests/test_commands.py index a4448fb7f..7a888ad66 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -476,6 +476,7 @@ class TestCommandsTestnet(ElectrumTestCase): preimage=preimage, wallet=wallet, ) + with self.assertRaises(AssertionError): # cancelling an unknown invoice should raise await cmds.cancel_hold_invoice( payment_hash=sha256(urandom(32)).hex(),