mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
address some PR comments on coding style
This commit is contained in:
parent
ea6ae4db20
commit
4f83fce39d
@ -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__)
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user