Skip to content

Commit

Permalink
Add test capturing failed expectation. Ref #573.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed Dec 18, 2022
1 parent 1d76158 commit 22bcc9a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions keyring/testing/backend.py
Expand Up @@ -71,6 +71,13 @@ def test_password_set_get(self):
service = random_string(20)
self.check_set_get(service, username, password)

@pytest.mark.xfail(reason="#573")
def test_set_after_set_blank(self):
service = random_string(20)
username = random_string(20)
self.keyring.set_password(service, username, "")
self.keyring.set_password(service, username, "non-blank")

def test_difficult_chars(self):
password = random_string(20, self.DIFFICULT_CHARS)
username = random_string(20, self.DIFFICULT_CHARS)
Expand Down

0 comments on commit 22bcc9a

Please sign in to comment.