Skip to content

Commit ac42825

Browse files
committed
pytest-fixtures2
1 parent 9177435 commit ac42825

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tests/test_repo.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ def keyring_fixture():
1717
keyring.get_password('vorta-repo', test_repo_url)
1818

1919
yield
20-
# Check if the password still exists after running the test
21-
password = keyring.get_password('vorta-repo', test_repo_url)
22-
assert password is not None
20+
2321
# Remove password from keyring if not removed
2422
keyring.remove_password('vorta-repo', test_repo_url)
2523

0 commit comments

Comments
 (0)