Skip to content

Commit

Permalink
remove faulty test assertion (presumably a result of some async dbus …
Browse files Browse the repository at this point in the history
…thing on linux?)
  • Loading branch information
Jamie Beverley committed Oct 4, 2024
1 parent 27d0e0e commit ecf05b8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions keyring/testing/backend.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ def test_wrong_username_returns_none(self):

assert keyring.get_credential(service, "user1").password == password_1
assert keyring.get_credential(service, "user2").password == password_2
# Most recent entered
assert keyring.get_credential(service, None).password == password_2

# Missing/wrong username should not return a cred
assert keyring.get_credential(service, "nobody!") is None

0 comments on commit ecf05b8

Please sign in to comment.