Skip to content

Commit

Permalink
add more acceptance tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zuzueeka committed Dec 26, 2023
1 parent 4a8806e commit a23f6a5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/acceptance_test_full_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
from utils.config import (
get_network_name,
)
from utils import lido, deployed_easy_track, log, deployment
from utils import lido, deployed_easy_track, deployed_date_time, log, deployment
from hexbytes import HexBytes

ADD_RECIPIENT_TO_ALLOWED_LIST_ROLE = (
Expand Down Expand Up @@ -52,6 +52,7 @@ def main():

contracts = lido.contracts(network=network_name)
et_contracts = deployed_easy_track.contracts(network=network_name)
date_time_contract = deployed_date_time.date_time_contract(network=network_name)

evm_script_executor = et_contracts.evm_script_executor

Expand Down Expand Up @@ -97,6 +98,9 @@ def main():
remove_allowed_recipient_address
)

assert registry.bokkyPooBahsDateTimeContract() == date_time_contract
assert top_up_allowed_recipients.easyTrack() == et_contracts.easy_track
assert top_up_allowed_recipients.finance() == contracts.aragon.finance
assert top_up_allowed_recipients.token() == deploy_config.token
assert top_up_allowed_recipients.allowedRecipientsRegistry() == registry
assert top_up_allowed_recipients.trustedCaller() == deploy_config.trusted_caller
Expand Down

0 comments on commit a23f6a5

Please sign in to comment.