Skip to content

Commit

Permalink
test: small assert before state change
Browse files Browse the repository at this point in the history
  • Loading branch information
boolafish committed Mar 5, 2020
1 parent 9523a07 commit e321ced
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ def test_challenge_standard_exit_valid_spend_should_succeed(testlang, exit_outpu
[owner] * PAYMENT_TX_MAX_INPUT_SIZE,
outputs=[(owner.address, NULL_ADDRESS, spend_tx_amount)]
)
testlang.challenge_standard_exit(exit_id, doublespend_id)

assert testlang.get_standard_exit(exit_id).exitable
testlang.challenge_standard_exit(exit_id, doublespend_id)
assert not testlang.get_standard_exit(exit_id).exitable


Expand Down

0 comments on commit e321ced

Please sign in to comment.