Skip to content

Commit

Permalink
Fix rebase inconsistency
Browse files Browse the repository at this point in the history
  • Loading branch information
pirapira committed Apr 30, 2019
1 parent d70bf1a commit 493b436
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions raiden_contracts/tests/test_deploy_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,18 +156,16 @@ def test_verify_nonexistent_deployment(
)


def test_verify_existent_deployment(
user_deposit_whole_balance_limit,
):
def test_verify_existent_deployment():
""" Test verify_deployed_contracts_in_filesystem() with an existent deployment data. """
web3_mock = Mock()
web3_mock.version.network = 42
verifyer = ContractVerifyer(web3=web3_mock, contracts_version='0.11.1')
verifier = ContractVerifier(web3=web3_mock, contracts_version='0.11.1')
# The Mock doesn't return the runtime code, so the code comparison fails.
with pytest.raises(AssertionError):
verifyer.verify_deployed_contracts_in_filesystem()
verifier.verify_deployed_contracts_in_filesystem()
with pytest.raises(AssertionError):
verifyer.verify_deployed_service_contracts_in_filesystem(
verifier.verify_deployed_service_contracts_in_filesystem(
token_address='0x3Aa761BcDB064179a1e37748D8A5F577a177Be5c',
user_deposit_whole_balance_limit=2 ** 256 - 1,
)

0 comments on commit 493b436

Please sign in to comment.