-
-
Notifications
You must be signed in to change notification settings - Fork 535
[FIX] 14.0 doctests hidden errors #338
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
[FIX] 14.0 doctests hidden errors #338
Conversation
|
Oh, but this way we are stuck again with the meaningless test names, which is why Nils used a wrapper class... |
|
I have refactored the tests a bit and now the output looks like: |
…correctly with OdooDocTestCase
|
@nilshamerlinck what do you think of this solution to the problem of doctest failures going unnoticed? |
|
/ocabot merge nobump |
|
On my way to merge this fine PR! |
|
Congratulations, your PR was merged at b1912c7. Thanks a lot for contributing to OCA. ❤️ |
At the moment, a doctest that fails is not registered in the output of the test results.
I have tested this hypothesis here: #336 where the tests do not fail, even though there is a clear error present!