Fix syntax.

Signed-off-by: maoudia <maoudia@viascience.com>
This commit is contained in:
maoudia 2020-05-06 22:14:36 -04:00
parent 58290d2f2a
commit 3e0dbddc6b

View File

@ -146,7 +146,7 @@ class TestBigchainApi(object):
# write the transactions to the DB
b.store_bulk_transactions([tx1, tx2, tx3])
# get the assets through text search
assets = list(b.query(json_query={'data.complex_key.complex_sub_key':'value_4'}))
assets = list(b.query(json_query={'data.complex_key.complex_sub_key': 'value_4'}))
assert len(assets) == 0
def test_aggregate(self, b, alice):