(node_factory, benchmark)
| 78 | |
| 79 | |
| 80 | def test_single_payment(node_factory, benchmark): |
| 81 | l1, l2 = get_bench_line_graph(node_factory, 2) |
| 82 | |
| 83 | def do_pay(l1, l2): |
| 84 | invoice = l2.rpc.invoice(1000, 'invoice-{}'.format(random.random()), 'desc')['bolt11'] |
| 85 | l1.rpc.xpay(invoice) |
| 86 | |
| 87 | benchmark(do_pay, l1, l2) |
| 88 | |
| 89 | |
| 90 | def test_forward_payment(node_factory, benchmark): |
nothing calls this directly
no test coverage detected