lnbits-legend/tests
callebtc 9f40b3cdbd
Tests: hold invoice tests pending during payment (#1839)
* tests: hold invoice tests pending during payment

* sigh...

* ok

* hash preimage

* preimage_hash == payment_hash

* should error

* check that payment is gone

* cancel task while in-flight

* lnbits endpoing return error

* return error

* add both options

* fix list

* respond to error

* return false if payment status errors

* outgoing invoice should be deleted after one status check

* test api_payments_create error
2023-07-31 20:25:22 +02:00
..
core Tests: hold invoice tests pending during payment (#1839) 2023-07-31 20:25:22 +02:00
data reintroduce extension migration check (#1490) 2023-02-14 13:06:01 +01:00
__init__.py refactor: add some dev files and black original code 2019-12-13 17:56:19 +01:00
conftest.py TEST: add hold invoices to test helpers and a basic test (#1838) 2023-07-26 14:18:14 +02:00
helpers.py TEST: add hold invoices to test helpers and a basic test (#1838) 2023-07-26 14:18:14 +02:00
mocks.py test should pass now, WALLET is initialised after the settings are loaded from db. 2022-12-07 13:38:33 +01:00