CI: regtest with LndRestWallet and CLightningWallet (#738)

* add regtest
* test LndRestWallet
* test CLightningWallet
This commit is contained in:
calle 2022-07-16 14:10:43 +02:00 committed by GitHub
parent 6a3a72b944
commit 99b6b9d71c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 117 additions and 4 deletions

View file

@ -27,7 +27,8 @@ WALLET.status = AsyncMock(
)
)
WALLET.create_invoice = generate_mock_invoice
# Note: if this line is uncommented, invoices will always be generated by FakeWallet
# WALLET.create_invoice = generate_mock_invoice
# NOTE: This mock fails since it yields the same invoice multiple
# times which makes the db throw an error due to uniqueness contraints