Skip to content

Commit

Permalink
Correct the order of username/service
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Mar 23, 2024
1 parent df6ebfc commit cd6df9a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/backends/test_kwallet.py
Expand Up @@ -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.",
)

Expand Down

0 comments on commit cd6df9a

Please sign in to comment.