mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
py-tests: rename 'announce' to 'wait_for_announce'
Better description of what the option actually does -- if true waits for the announcement messages to be generated and exchanged.
This commit is contained in:
@@ -62,7 +62,7 @@ def test_single_payment(node_factory, benchmark):
|
||||
|
||||
|
||||
def test_forward_payment(node_factory, benchmark):
|
||||
l1, l2, l3 = node_factory.line_graph(3, announce=True)
|
||||
l1, l2, l3 = node_factory.line_graph(3, wait_for_announce=True)
|
||||
|
||||
def do_pay(src, dest):
|
||||
invoice = dest.rpc.invoice(1000, 'invoice-{}'.format(random.random()), 'desc')['bolt11']
|
||||
@@ -72,7 +72,7 @@ def test_forward_payment(node_factory, benchmark):
|
||||
|
||||
|
||||
def test_long_forward_payment(node_factory, benchmark):
|
||||
nodes = node_factory.line_graph(21, announce=True)
|
||||
nodes = node_factory.line_graph(21, wait_for_announce=True)
|
||||
|
||||
def do_pay(src, dest):
|
||||
invoice = dest.rpc.invoice(1000, 'invoice-{}'.format(random.random()), 'desc')['bolt11']
|
||||
|
||||
Reference in New Issue
Block a user