-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: get_account now works if called a second time for the same accou…
…nt name
- Loading branch information
1 parent
706df1a
commit 513dd4c
Showing
2 changed files
with
12 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from algokit_utils import get_account | ||
from algosdk.v2client.algod import AlgodClient | ||
from conftest import get_unique_name | ||
|
||
|
||
def test_account_can_be_called_twice(algod_client: AlgodClient) -> None: | ||
account_name = get_unique_name() | ||
account1 = get_account(algod_client, account_name) | ||
account2 = get_account(algod_client, account_name) | ||
|
||
assert account1 == account2 |
513dd4c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Coverage Report