Skip to content
Snippets Groups Projects
Commit d57a8ccd authored by Vincent Texier's avatar Vincent Texier
Browse files

[tests] improve test_v1_account_import_wizard.py

parent f2a5d01e
No related branches found
No related tags found
No related merge requests found
Pipeline #41549 waiting for manual action
......@@ -63,8 +63,9 @@ def test_v1_import_wizard_with_identity(
None,
IdentityStatus.MEMBER,
)
application.identities.add(source_identity)
source_identity_name = "identity_name"
source_identity.name = source_identity_name
application.identities.add(source_identity)
assert source_account is not None
assert source_account.balance == 1000
......@@ -104,7 +105,10 @@ def test_v1_import_wizard_with_identity(
assert window.sourceAddressValueLabel.text() == source_account.address
assert window.sourceBalanceValueLabel.text() == "ĞD10.00"
assert window.sourceErrorLabel.text() == ""
assert window.sourceIdentityValueLabel.text() == f"#{source_identity_index}"
assert (
window.sourceIdentityValueLabel.text()
== f"{source_identity_name}#{source_identity_index}"
)
assert window.wizardPage2.isComplete() is True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment