Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Commit

Permalink
fix: debug ci failure
Browse files Browse the repository at this point in the history
  • Loading branch information
banteg committed Nov 19, 2020
1 parent cbf9c2f commit c961316
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/functional/utils/test_maker_oracle.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ def test_maker_oracle(MakerOracle, accounts, interface, name):
deployer, reader = accounts[:2]
oracle = MakerOracle.deploy(source, {"from": deployer})
oracle.set_user(reader, True)
assert oracle.users(reader)
for func in [oracle.peek, oracle.peep]:
with brownie.reverts("not user"):
func()
Expand All @@ -23,5 +24,6 @@ def test_maker_oracle(MakerOracle, accounts, interface, name):
source.kiss(oracle, {"from": osm_mom})
for func in [oracle.peek, oracle.peep]:
val, has = func({"from": reader})
print(val.to('ether'), has)
assert val > 0
assert has

0 comments on commit c961316

Please sign in to comment.