We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It looks like the new click adds the --help option everywhere, maybe it could be related to pallets/click#2563?
--help
Anyway, error message is unsurprisingly:
[ 12s] ______________________ test_missing_group_decl_first_api _______________________ [ 12s] [ 12s] runner = <click.testing.CliRunner object at 0x7fda48f661e0> [ 12s] [ 12s] def test_missing_group_decl_first_api(runner): [ 12s] @click.command() [ 12s] @click.option('--hello1') [ 12s] @optgroup.option('--foo') [ 12s] @optgroup.option('--bar') [ 12s] @click.option('--hello2') [ 12s] def cli(**params): [ 12s] pass [ 12s] [ 12s] result = runner.invoke(cli, ['--help']) [ 12s] [ 12s] > assert result.exception [ 12s] E assert None [ 12s] E + where None = <Result okay>.exception
The text was updated successfully, but these errors were encountered:
No branches or pull requests
It looks like the new click adds the
--help
option everywhere, maybe it could be related to pallets/click#2563?Anyway, error message is unsurprisingly:
The text was updated successfully, but these errors were encountered: