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
Eg. I want to just check that the response fails, but I don't care how exactly, so I write:
asserts = {"ok": False} response = api.import_cluster(cluster_id, asserts_in=asserts)
But this will still check if status is 200 and so on - which is something that makes sense for successful responses only.
The same goes when I want to check that status is 404, and don't want to specify 'Not Found' at the same time ...
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Eg. I want to just check that the response fails, but I don't care how exactly, so I write:
But this will still check if status is 200 and so on - which is something that makes sense for successful responses only.
The same goes when I want to check that status is 404, and don't want to specify 'Not Found' at the same time ...
The text was updated successfully, but these errors were encountered: