Skip to content

Commit

Permalink
Adapt unit test for new errors
Browse files Browse the repository at this point in the history
  • Loading branch information
doerfli committed Aug 12, 2022
1 parent 4dab3c6 commit 10ad469
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_deploy_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_PolicyDefaultFlow(instance: GifInstance, owner):
assert policyDefaultFlow.address == policyDefaultFlowAddress
assert policyDefaultFlow.address != 0x0

with brownie.reverts('ERROR:POC-050:METADATA_DOES_NOT_EXIST'):
with brownie.reverts('ERROR:POC-051:APPLICATION_DOES_NOT_EXIST'):
policyDefaultFlow.getApplicationData(s2b32(''))

with pytest.raises(AttributeError):
Expand Down

0 comments on commit 10ad469

Please sign in to comment.