Skip to content

Commit

Permalink
Fix python tests
Browse files Browse the repository at this point in the history
Signed-off-by: kamilsa <[email protected]>
  • Loading branch information
kamilsa committed Dec 27, 2017
1 parent acc537f commit 21553db
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/module/shared_model/bindings/builder-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ def proto(self, tx):

def check_proto_tx(self, blob):
try:
blk.Transaction.FromString(b''.join(map(bytes, blob.blob())))
blk.Transaction.FromString(b''.join(map(chr, blob.blob())))
except DecodeError as e:
print(e)
return False
Expand Down
2 changes: 1 addition & 1 deletion test/module/shared_model/bindings/query-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def proto(self, query):

def check_proto_query(self, blob):
try:
qry.Query.FromString(b''.join(map(bytes, blob.blob())))
qry.Query.FromString(b''.join(map(chr, blob.blob())))
except DecodeError as e:
print(e)
return False
Expand Down

0 comments on commit 21553db

Please sign in to comment.