(node_factory)
| 561 | |
| 562 | |
| 563 | def test_xpay_maxdelay(node_factory): |
| 564 | l1, l2 = node_factory.line_graph(2, wait_for_announce=True) |
| 565 | |
| 566 | inv = l2.rpc.invoice('10000msat', 'test_xpay_maxdelay', 'test_xpay_maxdelay')["bolt11"] |
| 567 | |
| 568 | with pytest.raises(RpcError, match=r"Could not find route without excessive delays"): |
| 569 | l1.rpc.xpay(invstring=inv, maxdelay=1) |
| 570 | |
| 571 | |
| 572 | def test_xpay_unannounced(node_factory): |
nothing calls this directly
no test coverage detected