Problem: More Flake8 complaints...

Solution: Made things prettier
This commit is contained in:
z-bowen 2018-08-08 12:20:47 +02:00
parent 76240613db
commit 3fd14ed93a
2 changed files with 2 additions and 0 deletions

View File

@ -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

View File

@ -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]