Skip to content

Commit 44a102e

Browse files
committed
lint
1 parent 941b177 commit 44a102e

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

test/ln_basic_test.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
import json
44
import os
5-
import pexpect
65
import subprocess
76
import sys
87
from pathlib import Path
98
from time import sleep
109

10+
import pexpect
1111
from test_base import TestBase
1212

1313
from 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 = {}

0 commit comments

Comments
 (0)