address some PR comments on coding style

This commit is contained in:
Scott Sadler 2016-12-09 10:00:42 +01:00
parent ea6ae4db20
commit 4f83fce39d
2 changed files with 5 additions and 5 deletions

View File

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

View File

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