(node_factory, benchmark)
| 88 | |
| 89 | |
| 90 | def test_forward_payment(node_factory, benchmark): |
| 91 | l1, l2, l3 = get_bench_line_graph(node_factory, 3, wait_for_announce=True) |
| 92 | |
| 93 | def do_pay(src, dest): |
| 94 | invoice = dest.rpc.invoice(1000, 'invoice-{}'.format(random.random()), 'desc')['bolt11'] |
| 95 | src.rpc.xpay(invoice) |
| 96 | |
| 97 | benchmark(do_pay, l1, l3) |
| 98 | |
| 99 | |
| 100 | def test_long_forward_payment(node_factory, benchmark): |
nothing calls this directly
no test coverage detected