-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
functional tests: fix automatic ref updating #9690
base: main
Are you sure you want to change the base?
Conversation
This comment has been minimized.
This comment has been minimized.
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.
Seeing the result of the pipeline, it's likely you found an actual issue. The testutil are really poorly tested (in fact not at all directly, only indirectly from running other tests). Might be the time to actually add direct tests for them. Do you feel like doing this ? You can also upgrade the now failing tests otherwise. I'll need some time to understand what's happening to be able to review in any case.
Looks like it was asserting the previously-first assert's message? |
This reverts commit 6b0fb2c.
for more information, see https://pre-commit.ci
I reverted the change to the output of |
π€ According to the primer, this change has no effect on the checked open source code. π€π This comment was generated for commit 63cbd3e |
I think the first commit / intention revealed an issue with the functional test : upgrading the expected output before checking the message raised or not should not make the tests fail. Maybe the expected output generation is wrong.
Yeah, I agree, those monster classes can use composition and two sub classes anytime (and tested with more ease as a result). Not sure this is strictly necessary to fix the issue you unearthed though.
No worries, thank you for bringing the issue to our attention π |
Type of Changes
Description
Allows automatic test ref updating to function properly.
Closes #9688