File tree Expand file tree Collapse file tree 1 file changed +3
-7
lines changed
Expand file tree Collapse file tree 1 file changed +3
-7
lines changed Original file line number Diff line number Diff line change 22
33import json
44import os
5- import pexpect
65import subprocess
76import sys
87from pathlib import Path
98from time import sleep
109
10+ import pexpect
1111from test_base import TestBase
1212
1313from warnet .process import stream_command
@@ -222,11 +222,7 @@ def get_ln_node_state(self, tankln):
222222 # same for both
223223 invs = json .loads (self .warnet (f"ln rpc { tankln } listinvoices" ))
224224 self .log .info (f"{ tankln } pubkey: { pub } " )
225- return {
226- "pub" : pub ,
227- "pays" : pays ,
228- "invs" : invs
229- }
225+ return {"pub" : pub , "pays" : pays , "invs" : invs }
230226
231227 def test_data_persistence (self ):
232228 self .log .info ("Testing data persistence" )
@@ -236,7 +232,7 @@ def test_data_persistence(self):
236232 "tank-0002-ln" ,
237233 # No persistence
238234 "tank-0003-ln" ,
239- "tank-0005-ln"
235+ "tank-0005-ln" ,
240236 ]
241237 self .log .info ("Saving state from LN tanks" )
242238 first = {}
You can’t perform that action at this time.
0 commit comments