diff --git a/bigchaindb/consensus.py b/bigchaindb/consensus.py index a3e57863..6767ce6d 100644 --- a/bigchaindb/consensus.py +++ b/bigchaindb/consensus.py @@ -1,8 +1,8 @@ import logging from bigchaindb.util import verify_vote_signature -from bigchaindb.common.schema import SchemaValidationError, \ - validate_vote_schema +from bigchaindb.common.schema import (SchemaValidationError, + validate_vote_schema) logger = logging.getLogger(__name__) diff --git a/tests/common/schema/test_schema.py b/tests/common/schema/test_schema.py index c7990c39..0bb89eb4 100644 --- a/tests/common/schema/test_schema.py +++ b/tests/common/schema/test_schema.py @@ -1,5 +1,5 @@ -from bigchaindb.common.schema import TX_SCHEMA, VOTE_SCHEMA, \ - drop_schema_descriptions +from bigchaindb.common.schema import (TX_SCHEMA, VOTE_SCHEMA, + drop_schema_descriptions) def _test_additionalproperties(node, path=''): @@ -51,7 +51,6 @@ def test_drop_descriptions(): } } } - drop_schema_descriptions(node) expected = { 'properties': { 'description': {}, @@ -66,4 +65,5 @@ def test_drop_descriptions(): 'wat': {}, } } + drop_schema_descriptions(node) assert node == expected