Skip to content

Commit 53bd54f

Browse files
committed
logs
1 parent 617bf72 commit 53bd54f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/conftest.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,10 +129,14 @@ def execute_votes(accounts, vote_ids, dao_voting, topup="10 ether"):
129129
dao_voting.vote(vote_id, True, False, {"from": account})
130130

131131
# wait for the vote to end
132+
print("HERE1", dao_voting.getVote(vote_id)["startDate"], get_vote_duration(), chain.time())
132133
time_to_end = dao_voting.getVote(vote_id)["startDate"] + get_vote_duration() - chain.time()
134+
print("HERE2", time_to_end)
133135
if time_to_end > 0:
136+
print("HERE3", "sleep")
134137
chain.sleep(time_to_end)
135138
chain.mine()
139+
print("HERE4", "mine", vote_ids)
136140

137141
for vote_id in vote_ids:
138142
assert dao_voting.canExecute(vote_id)

0 commit comments

Comments
 (0)