mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Fix flake8 again :)
This commit is contained in:
parent
c431e225fe
commit
a7463d8d04
@ -56,7 +56,7 @@ def test_write_assets():
|
|||||||
|
|
||||||
# check that 3 assets were written to the database
|
# check that 3 assets were written to the database
|
||||||
cursor = conn.db.assets.find({}, projection={'_id': False})\
|
cursor = conn.db.assets.find({}, projection={'_id': False})\
|
||||||
.sort('id', pymongo.ASCENDING)
|
.sort('id', pymongo.ASCENDING)
|
||||||
|
|
||||||
assert cursor.collection.count_documents({}) == 3
|
assert cursor.collection.count_documents({}) == 3
|
||||||
assert list(cursor) == assets[:-1]
|
assert list(cursor) == assets[:-1]
|
||||||
|
|||||||
@ -11,7 +11,6 @@ from argparse import Namespace
|
|||||||
import pytest
|
import pytest
|
||||||
|
|
||||||
from bigchaindb import ValidatorElection
|
from bigchaindb import ValidatorElection
|
||||||
from tests.conftest import node_keys
|
|
||||||
|
|
||||||
|
|
||||||
def test_make_sure_we_dont_remove_any_command():
|
def test_make_sure_we_dont_remove_any_command():
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user