Skip to content

Commit

Permalink
fix: wrong function args in python tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Unnawut Leepaisalsuwanna committed Feb 13, 2020
1 parent 8321251 commit ff3f067
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion plasma_framework/python_tests/testlang/testlang.py
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ def get_standard_exit(self, utxo_pos):
"""

exit_id = self.get_standard_exit_id(utxo_pos)
exit_info = self.root_chain.exits(exit_id)
exit_info = self.root_chain.exits([exit_id])
return StandardExit(*exit_info[0])

def get_standard_exit_id(self, utxo_pos):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ def test_start_standard_exit_old_utxo_has_required_exit_period_to_start_exit(tes
testlang.start_standard_exit(utxo.spend_id, utxo.owner)

_, _, next_exit_id = testlang.root_chain.getNextExit(testlang.root_chain.eth_vault_id, NULL_ADDRESS)
exits = testlang.root_chain.exits(next_exit_id)
exits = testlang.root_chain.exits([next_exit_id])
next_exit = StandardExit(*exits[0])
assert next_exit.position == utxo.spend_id

Expand Down

0 comments on commit ff3f067

Please sign in to comment.