test: services create and pay invoice (#2452)
* test: services create and pay invoice * add more tests * check with fundingsource * check status
This commit is contained in:
parent
6730c6ed67
commit
1e752dc3d2
3 changed files with 98 additions and 0 deletions
|
|
@ -15,3 +15,10 @@ async def real_invoice():
|
|||
invoice = get_real_invoice(100)
|
||||
yield {"bolt11": invoice["payment_request"]}
|
||||
del invoice
|
||||
|
||||
|
||||
@pytest_asyncio.fixture(scope="function")
|
||||
async def real_amountless_invoice():
|
||||
invoice = get_real_invoice(0)
|
||||
yield invoice["payment_request"]
|
||||
del invoice
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue