MCPcopy Create free account
hub / github.com/ElementsProject/lightning / test_invoice

Function test_invoice

tests/benchmark.py:110–116  ·  view source on GitHub ↗
(node_factory, benchmark)

Source from the content-addressed store, hash-verified

108
109
110def test_invoice(node_factory, benchmark):
111 l1 = get_bench_node(node_factory)
112
113 def bench_invoice():
114 l1.rpc.invoice(1000, 'invoice-{}'.format(time()), 'desc')
115
116 benchmark(bench_invoice)
117
118
119def test_pay(node_factory, benchmark):

Callers

nothing calls this directly

Calls 1

get_bench_nodeFunction · 0.85

Tested by

no test coverage detected