Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Delete Vault generated keys #638

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open

Conversation

pangea-andrest
Copy link
Collaborator

No description provided.

@pangea-andrest pangea-andrest requested a review from a team as a code owner February 26, 2025 14:12
@kenany
Copy link
Member

kenany commented Feb 26, 2025

Should we do this on teardown instead?

@pangea-andrest
Copy link
Collaborator Author

@kenany Done. I've done it on class method because I don't think it make sense to run it after every tests. Is that okey?

Comment on lines -756 to -759
def test_list(self) -> None:
list_resp = self.vault.list()
assert list_resp.result
self.assertGreater(len(list_resp.result.items), 0)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Don't we want to continue testing Vault's list endpoint, though? I know it's called in the new teardown, but I still feel like it deserves its own tests with assertions (ever if only this assertGreater(len(list_resp.result.items), 0) one).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants