Skip to content

Commit

Permalink
add account list to test resource account
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin committed Jul 20, 2023
1 parent 24a1936 commit 483dbee
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions crates/aptos/e2e/cases/account.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@ def test_account_rotate_key(run_helper: RunHelper, test_name=None):
raise TestError(
f"lookup-address of new public key does not match original address: {old_profile.account_address}"
)



@test_case
def test_account_resource_account(run_helper: RunHelper, test_name=None):
# Seed for the resource account
Expand Down Expand Up @@ -220,4 +221,4 @@ def test_account_resource_account(run_helper: RunHelper, test_name=None):
if not found_resource:
raise TestError(
"Cannot find the resource account in the account list after resource account creation"
)
)
2 changes: 1 addition & 1 deletion crates/aptos/e2e/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
test_account_create,
test_account_fund_with_faucet,
test_account_lookup_address,
test_account_rotate_key,
test_account_resource_account,
test_account_rotate_key,
)
from cases.config import test_config_show_profiles
from cases.init import test_aptos_header_included, test_init, test_metrics_accessible
Expand Down

0 comments on commit 483dbee

Please sign in to comment.