mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
test unicode write block to disk
This commit is contained in:
parent
248e89a666
commit
2af8fcb918
@ -1236,5 +1236,7 @@ def test_transaction_unicode(b):
|
||||
tx = (Transaction.create([b.me], [([b.me], 100)], beer_python)
|
||||
).sign([b.me_private])
|
||||
block = b.create_block([tx])
|
||||
b.write_block(block)
|
||||
assert b.get_block(block.id) == block.to_dict()
|
||||
assert block.validate(b) == block
|
||||
assert beer_json in serialize(block.to_dict())
|
||||
|
Loading…
x
Reference in New Issue
Block a user