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

Add user CLI unit tests #2628

Merged
merged 2 commits into from
Oct 23, 2024
Merged

Add user CLI unit tests #2628

merged 2 commits into from
Oct 23, 2024

Conversation

hanouticelina
Copy link
Contributor

This PR adds unit tests for user CLI commands (login, logout, auth switch and auth list), helping us catch command-related bugs (like #2620) early in our CI pipeline.
while the underlying authentication functionality is already tested in tests/test_auth.py, these tests focus on ensuring the CLI commands themselves work reliably across different environments.

@HuggingFaceDocBuilderDev

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Contributor

@Wauplin Wauplin left a comment

Choose a reason for hiding this comment

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

Thanks for this extensive test suite!

@hanouticelina hanouticelina merged commit dff7dbf into main Oct 23, 2024
18 checks passed
@hanouticelina hanouticelina deleted the add-user-cli-tests branch October 23, 2024 17:13
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.

3 participants