(node_factory)
| 845 | |
| 846 | |
| 847 | def test_offers(node_factory): |
| 848 | l1, l2, l3 = node_factory.line_graph(3, wait_for_announce=True, |
| 849 | opts={'dev-allow-localhost': None, 'allow-deprecated-apis': True}) |
| 850 | offer = l3.rpc.offer("1000sat", "test_renepay_offers")['bolt12'] |
| 851 | invoice = l1.rpc.fetchinvoice(offer)['invoice'] |
| 852 | response = l1.rpc.call("renepay", {"invstring": invoice}) |
| 853 | assert response["status"] == "complete" |
| 854 | |
| 855 | |
| 856 | def test_offer_selfpay(node_factory): |
nothing calls this directly
no test coverage detected