test: refactor to not use paid_invoices stream for real invoice tests (#2628)
This commit is contained in:
parent
ddb8fcb986
commit
40ffa7dea0
5 changed files with 55 additions and 58 deletions
|
|
@ -160,7 +160,8 @@ async def test_peer_management(node_client):
|
|||
|
||||
response = await node_client.delete(f"/node/api/v1/peers/{peer_id}")
|
||||
assert response.status_code == 200
|
||||
await asyncio.sleep(0.1)
|
||||
# lndrest is slow to remove the peer
|
||||
await asyncio.sleep(0.3)
|
||||
|
||||
response = await node_client.get("/node/api/v1/peers")
|
||||
assert response.status_code == 200
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue