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 verification tests for help function #2859

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

Conversation

Veebaa
Copy link

@Veebaa Veebaa commented Feb 17, 2025

@@ -413,3 +414,52 @@ def cli():
assert rv.exit_code == 1
assert isinstance(rv.exception.__cause__, exc)
assert rv.exception.__cause__.args == ("catch me!",)


# Test case 1: Argument named 'help' should cause an error
Copy link
Member

Choose a reason for hiding this comment

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

Remove these comments. If you need to explain a test, use a docstring or comments within the test. Don't number the tests, as that requires people to modify the comments if order changes in the future.

Copy link
Author

Choose a reason for hiding this comment

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

All done :)

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.

help not resolving automatically
2 participants