mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-01 16:31:33 +01:00
test: Fix pep8 of touched file
Can be reviewed with --word-diff-regex=. --ignore-all-space
This commit is contained in:
@@ -10,9 +10,11 @@ from decimal import Decimal
|
||||
import shutil
|
||||
import os
|
||||
|
||||
|
||||
def descriptors(out):
|
||||
return sorted(u['desc'] for u in out['unspents'])
|
||||
|
||||
|
||||
class ScantxoutsetTest(BitcoinTestFramework):
|
||||
def set_test_params(self):
|
||||
self.num_nodes = 1
|
||||
@@ -52,7 +54,6 @@ class ScantxoutsetTest(BitcoinTestFramework):
|
||||
self.nodes[0].sendtoaddress("mxp7w7j8S1Aq6L8StS2PqVvtt4HGxXEvdy", 8.192) # (m/1/1/1)
|
||||
self.nodes[0].sendtoaddress("mpQ8rokAhp1TAtJQR6F6TaUmjAWkAWYYBq", 16.384) # (m/1/1/1500)
|
||||
|
||||
|
||||
self.generate(self.nodes[0], 1)
|
||||
|
||||
self.log.info("Stop node, remove wallet, mine again some blocks...")
|
||||
@@ -127,5 +128,6 @@ class ScantxoutsetTest(BitcoinTestFramework):
|
||||
# Check that second arg is needed for start
|
||||
assert_raises_rpc_error(-1, "scanobjects argument is required for the start action", self.nodes[0].scantxoutset, "start")
|
||||
|
||||
if __name__ == '__main__':
|
||||
|
||||
if __name__ == "__main__":
|
||||
ScantxoutsetTest().main()
|
||||
|
||||
Reference in New Issue
Block a user