(node_factory, benchmark)
| 98 | |
| 99 | |
| 100 | def test_long_forward_payment(node_factory, benchmark): |
| 101 | nodes = get_bench_line_graph(node_factory, 21, wait_for_announce=True) |
| 102 | |
| 103 | def do_pay(src, dest): |
| 104 | invoice = dest.rpc.invoice(1000, 'invoice-{}'.format(random.random()), 'desc')['bolt11'] |
| 105 | src.rpc.xpay(invoice) |
| 106 | |
| 107 | benchmark(do_pay, nodes[0], nodes[-1]) |
| 108 | |
| 109 | |
| 110 | def test_invoice(node_factory, benchmark): |
nothing calls this directly
no test coverage detected