test: refactor to not use paid_invoices stream for real invoice tests (#2628)

This commit is contained in:
dni ⚡
2024-08-07 16:19:53 +02:00
committed by GitHub
parent ddb8fcb986
commit 40ffa7dea0
5 changed files with 55 additions and 58 deletions
+2 -1
View File
@@ -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