From 3fd14ed93a18a2d1676ed073a87960e2683f6703 Mon Sep 17 00:00:00 2001 From: z-bowen Date: Wed, 8 Aug 2018 12:20:47 +0200 Subject: [PATCH] Problem: More Flake8 complaints... Solution: Made things prettier --- bigchaindb/utils.py | 1 + tests/conftest.py | 1 + 2 files changed, 2 insertions(+) diff --git a/bigchaindb/utils.py b/bigchaindb/utils.py index d114b0fa..1ef8a9c5 100644 --- a/bigchaindb/utils.py +++ b/bigchaindb/utils.py @@ -168,6 +168,7 @@ class Lazy: self.stack = [] return last + # Load Tendermint's public and private key from the file path def load_node_key(path): import json diff --git a/tests/conftest.py b/tests/conftest.py index 3ad12118..7cb33b14 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -670,6 +670,7 @@ def node_keys(): 'PecJ58SaNRsWJZodDmqjpCWqG6btdwXFHLyE40RYlYM=': 'uz8bYgoL4rHErWT1gjjrnA+W7bgD/uDQWSRKDmC8otc95wnnxJo1GxYlmh0OaqOkJaobpu13BcUcvITjRFiVgw=='} + @pytest.fixture(scope='session') def priv_validator_path(node_keys): (public_key, private_key) = list(node_keys.items())[0]