diff --git a/keyring/testing/backend.py b/keyring/testing/backend.py index 74c1e476..89a414bf 100644 --- a/keyring/testing/backend.py +++ b/keyring/testing/backend.py @@ -195,6 +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 - + # Missing/wrong username should not return a cred assert keyring.get_credential(service, "nobody!") is None