functional_tests: python3 compatibility

and add missing tests
This commit is contained in:
moneromooo-monero 2019-05-29 11:45:25 +00:00
parent 1fac83858a
commit 6b72541dc0
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3
7 changed files with 15 additions and 15 deletions

View file

@ -792,7 +792,7 @@ class TransferTest():
if not k in unrecoverable_fields:
e[k] = x[k]
new_t_out.append(e)
assert sorted(old_t_out) == sorted(new_t_out)
assert sorted(old_t_out, key = lambda k: k['txid']) == sorted(new_t_out, key = lambda k: k['txid'])
def check_is_key_image_spent(self):
daemon = Daemon()