mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: More Flake8 complaints...
Solution: Made things prettier
This commit is contained in:
parent
76240613db
commit
3fd14ed93a
@ -168,6 +168,7 @@ class Lazy:
|
|||||||
self.stack = []
|
self.stack = []
|
||||||
return last
|
return last
|
||||||
|
|
||||||
|
|
||||||
# Load Tendermint's public and private key from the file path
|
# Load Tendermint's public and private key from the file path
|
||||||
def load_node_key(path):
|
def load_node_key(path):
|
||||||
import json
|
import json
|
||||||
|
|||||||
@ -670,6 +670,7 @@ def node_keys():
|
|||||||
'PecJ58SaNRsWJZodDmqjpCWqG6btdwXFHLyE40RYlYM=':
|
'PecJ58SaNRsWJZodDmqjpCWqG6btdwXFHLyE40RYlYM=':
|
||||||
'uz8bYgoL4rHErWT1gjjrnA+W7bgD/uDQWSRKDmC8otc95wnnxJo1GxYlmh0OaqOkJaobpu13BcUcvITjRFiVgw=='}
|
'uz8bYgoL4rHErWT1gjjrnA+W7bgD/uDQWSRKDmC8otc95wnnxJo1GxYlmh0OaqOkJaobpu13BcUcvITjRFiVgw=='}
|
||||||
|
|
||||||
|
|
||||||
@pytest.fixture(scope='session')
|
@pytest.fixture(scope='session')
|
||||||
def priv_validator_path(node_keys):
|
def priv_validator_path(node_keys):
|
||||||
(public_key, private_key) = list(node_keys.items())[0]
|
(public_key, private_key) = list(node_keys.items())[0]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user