Skip to content

Conversation

@GuyAv46
Copy link
Contributor

@GuyAv46 GuyAv46 commented Nov 14, 2025

Add message and depth parameters to all Query assertions, and some additional related fixes

@GuyAv46 GuyAv46 marked this pull request as draft November 14, 2025 15:19
@GuyAv46 GuyAv46 marked this pull request as ready for review November 14, 2025 15:19
@GuyAv46 GuyAv46 closed this Nov 14, 2025
@GuyAv46 GuyAv46 reopened this Nov 14, 2025
Copy link

Copilot AI left a 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 message and depth parameters to all 10 Query assertion methods (equal, noEqual, true, false, ok, contains, notContains, error, noError)
  • Fix depth parameter propagation in assertExists method
  • Enhance assertResponseError to 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.

@GuyAv46 GuyAv46 merged commit c53b844 into master Nov 16, 2025
28 checks passed
@GuyAv46 GuyAv46 deleted the guyav-improvements branch November 16, 2025 09:57
kei-nan pushed a commit to kei-nan/RLTest that referenced this pull request Dec 2, 2025
…dules#237)

* add depth and message for Query, and some related fixes

* remove unused import
kei-nan pushed a commit to kei-nan/RLTest that referenced this pull request Dec 2, 2025
…dules#237)

* add depth and message for Query, and some related fixes

* remove unused import
GuyAv46 added a commit that referenced this pull request Dec 8, 2025
* 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>
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.

2 participants