-
Notifications
You must be signed in to change notification settings - Fork 18
Add message and depth parameters to all Query assertions #237
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
Conversation
1e441ff to
b7ade8f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR enhances the Query class assertion methods by adding message and depth parameters to all Query assertion methods, providing better flexibility for error reporting and stack trace depth control. Additional related fixes improve consistency throughout the codebase.
- Add
messageanddepthparameters to all 10 Query assertion methods (equal, noEqual, true, false, ok, contains, notContains, error, noError) - Fix depth parameter propagation in
assertExistsmethod - Enhance
assertResponseErrorto properly forward message parameter to internal assertions - Clean up code by removing unused import and adding type hint
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
…dules#237) * add depth and message for Query, and some related fixes * remove unused import
…dules#237) * add depth and message for Query, and some related fixes * remove unused import
* initial commit * Add message and depth parameters to all Query assertions (#237) * add depth and message for Query, and some related fixes * remove unused import * CI update (#238) * split nightly from generic CI * version bump actions * update poetry lock * remove usage of pkg_resources * bump poetry version * update toml and poetry lock again * fix whitespace * Rename nightly-build job to build in biweekly.yml * support version on python 3.7 * run CI on older and newer python version * add old versions back and lock poetry * fix run * another attempt * another attempt * another attempt * another attempt * another attempt * another attempt * another attempt * fix poetry lock * CI improvement * improve comment and concurrency group * add failure notification * Improve waitCluster (#239) * refactor to use cluster slots to ensure agreement * expose to Env * wait for both OK and same topo * minor improvements * print rltest args * code review comments * code review comments * fixes * small fix * remove redundant function call * Apply suggestions from code review Co-authored-by: GuyAv46 <47632673+GuyAv46@users.noreply.github.com> --------- Co-authored-by: GuyAv46 <47632673+GuyAv46@users.noreply.github.com>
Add message and depth parameters to all Query assertions, and some additional related fixes