File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -65,10 +65,10 @@ def test_plugin_start(node_factory):
65
65
66
66
l1 .rpc .setconfig ("test-dynamic-option" , True )
67
67
assert l1 .rpc .listconfigs ("test-dynamic-option" )["configs" ]["test-dynamic-option" ]["value_bool" ]
68
- wait_for (lambda : l1 .daemon .is_in_log (r'cln-plugin-startup: Got dynamic option change: test-dynamic-option \\ "true\\ "' ))
68
+ wait_for (lambda : l1 .daemon .is_in_log (r'cln-plugin-startup: Got dynamic option change: test-dynamic-option "true"' ))
69
69
l1 .rpc .setconfig ("test-dynamic-option" , False )
70
70
assert not l1 .rpc .listconfigs ("test-dynamic-option" )["configs" ]["test-dynamic-option" ]["value_bool" ]
71
- wait_for (lambda : l1 .daemon .is_in_log (r'cln-plugin-startup: Got dynamic option change: test-dynamic-option \\ "false\\ "' ))
71
+ wait_for (lambda : l1 .daemon .is_in_log (r'cln-plugin-startup: Got dynamic option change: test-dynamic-option "false"' ))
72
72
73
73
74
74
def test_plugin_options_handle_defaults (node_factory ):
Original file line number Diff line number Diff line change @@ -4808,7 +4808,7 @@ def test_dev_rawrequest(node_factory):
4808
4808
# Get fetchinvoice to make us an invoice_request
4809
4809
l1 .rpc .call ('fetchinvoice' , {'offer' : offer ['bolt12' ]})
4810
4810
4811
- m = re .search (r'invoice_request: \\ "([a-z0-9]*)\\ "' , l1 .daemon .is_in_log ('invoice_request:' ))
4811
+ m = re .search (r'invoice_request: "([a-z0-9]*)"' , l1 .daemon .is_in_log ('invoice_request:' ))
4812
4812
ret = l1 .rpc .call ('dev-rawrequest' , {'invreq' : m .group (1 ),
4813
4813
'nodeid' : l2 .info ['id' ],
4814
4814
'timeout' : 10 })
@@ -5936,7 +5936,7 @@ def test_offer_experimental_fields(node_factory):
5936
5936
l2 .rpc .fetchinvoice (mangled )
5937
5937
5938
5938
# invice request contains the unknown field
5939
- m = re .search (r'invoice_request: \\ "([a-z0-9]*)\\ "' , l2 .daemon .is_in_log ('invoice_request:' ))
5939
+ m = re .search (r'invoice_request: "([a-z0-9]*)"' , l2 .daemon .is_in_log ('invoice_request:' ))
5940
5940
assert l1 .rpc .decode (m .group (1 ))['unknown_invoice_request_tlvs' ] == [{'type' : 1000000001 , 'length' : 1 , 'value' : '00' }]
5941
5941
5942
5942
Original file line number Diff line number Diff line change @@ -434,11 +434,11 @@ def test_xpay_takeover(node_factory, executor):
434
434
# Other args fail.
435
435
inv = l3 .rpc .invoice ('any' , "test_xpay_takeover7" , "test_xpay_takeover7" )
436
436
l1 .rpc .pay (inv ['bolt11' ], amount_msat = 10000 , label = 'test_xpay_takeover7' )
437
- l1 .daemon .wait_for_log (r'Not redirecting pay \(unknown arg \\ "label\\ "\)' )
437
+ l1 .daemon .wait_for_log (r'Not redirecting pay \(unknown arg "label"\)' )
438
438
439
439
inv = l3 .rpc .invoice ('any' , "test_xpay_takeover8" , "test_xpay_takeover8" )
440
440
l1 .rpc .pay (inv ['bolt11' ], amount_msat = 10000 , riskfactor = 1 )
441
- l1 .daemon .wait_for_log (r'Not redirecting pay \(unknown arg \\ "riskfactor\\ "\)' )
441
+ l1 .daemon .wait_for_log (r'Not redirecting pay \(unknown arg "riskfactor"\)' )
442
442
443
443
# Test that it's really dynamic.
444
444
l1 .rpc .setconfig ('xpay-handle-pay' , False )
You can’t perform that action at this time.
0 commit comments