From cd6df9a3660beeee8080bbfbaa205e617b4459db Mon Sep 17 00:00:00 2001 From: "Jason R. Coombs" Date: Sat, 23 Mar 2024 10:35:14 -0400 Subject: [PATCH] Correct the order of username/service --- tests/backends/test_kwallet.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/backends/test_kwallet.py b/tests/backends/test_kwallet.py index 22493011..c83319bb 100644 --- a/tests/backends/test_kwallet.py +++ b/tests/backends/test_kwallet.py @@ -57,13 +57,13 @@ def check_set_get(self, service, username, password): self.keyring = keyring = self.init_keyring() ret_password = keyring.get_password(service, username) assert ret_password == "", ( - f"Incorrect password for username: {service!r} " - f"on service: {username!r}. {ret_password!r} != ''", + f"Incorrect password for username: {username!r} " + f"on service: {service!r}. {ret_password!r} != ''", ) ret_password = keyring.get_password('Python', username + '@' + service) assert ret_password is None, ( - f"Not 'None' password returned for username: {service!r} " - f"on service: {username!r}. {ret_password!r} is not None. Passwords from old " + f"Not 'None' password returned for username: {username!r} " + f"on service: {service!r}. {ret_password!r} is not None. Passwords from old " "folder should be deleted during migration.", )