Created
July 22, 2020 18:28
-
-
Save iamdefinitelyahuman/0c161ce5c2140f055348d7a600a40709 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def test_insufficient_balance(token, accounts): | |
balance = token.balanceOf(accounts[1]) | |
with brownie.reverts("dev: Insufficient balance"): | |
token.adminTransfer(accounts[1], accounts[2], balance + 100) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment