-
-
Notifications
You must be signed in to change notification settings - Fork 171
Open
Description
Considered adding this additional assertion too (see previous commit) but it was failing intermittently on linux.
Sometimes keyring.get_credential(service, None).password
would equate to password_2
and sometimes to password_1
.
Sticking a time.sleep(1)
between the 2 set_password
calls above helped it reliably pass so perhaps there's some async/timing thing happening with dbus (can possibly look into that deeper but a bit out of my depths w/ dbus)
assert keyring.get_credential(service, "user2").password == password_2
# Most recent entered
assert keyring.get_credential(service, None).password == password_2
Originally posted by @JamieBeverley in #699 (comment)
Metadata
Metadata
Assignees
Labels
No labels