Skip to content
This repository was archived by the owner on Aug 13, 2024. It is now read-only.

Commit 7ab9966

Browse files
committed
chore: fix data type in public key assertion
1 parent 6643384 commit 7ab9966

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/onboarding/test_onboarding_generate_new_keys.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -107,9 +107,9 @@ def test_generate_new_keys_sign_out_from_settings(aut, main_window, keys_screen,
107107
f'Display name in online identifier is wrong, current: {online_identifier.get_user_name}, expected: {user_name}'
108108
assert online_identifier.is_identicon_ring_visible, \
109109
f'Identicon ring is not present when it should'
110-
assert online_identifier.object.pubkey is not None, \
110+
assert str(online_identifier.object.pubkey) is not None, \
111111
f'Public key is not present'
112-
assert online_identifier.object.pubkey == emoji_hash_public_key, f'Public keys should match when they dont'
112+
assert str(online_identifier.object.pubkey) == emoji_hash_public_key, f'Public keys should match when they dont'
113113

114114
with step('Open user profile from online identifier and check the data'):
115115
profile_popup = online_identifier.open_profile_popup_from_online_identifier()

0 commit comments

Comments
 (0)