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
[BUG] --report flag without arguments is broken. #1753
Comments
Same issue here, different environment:
I've been trying out schemathesis first time today, followed the instructions to the letter and encountered this uncaught exception. Guess I'll stop trying, remove my API and close my account. |
For reference - the exception happens with ‘click’ > 8.1.3 (starting from this commit). Schemathesis relied on previous behaviour in order to support both variants of using this CLI option, with and without a value. I am going to work on a fix somewhere next week when I am back from vacation, a temporary solution could be to pin the ‘click’ version to 8.1.3. |
Thanks for fixing, now my other devs don't need to bug me to read the logs for them anymore when they break the spec again ;D |
Checklist
Describe the bug
When running from the CLI with the --report flag an error is thrown. When adding any arguments like true or 1, a file with that name is created. I would like a report on schemathesis.io to be generated.
To Reproduce
Steps to reproduce the behavior:
Run a valid schemathesis command with the --report flag
The error received is the following:
Expected behavior
--report with no flags should upload a report to schemathesis.io
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: