-
-
Notifications
You must be signed in to change notification settings - Fork 311
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] edi_oca: Adapt tests to changes on error messages #819
Conversation
Hi @simahawk, |
@simahawk I tried to do this without removing the regex, but odoo is now using has_user_group, this checks if the call comes from a request and we are on debug mode. Obviously it is not the case on tests, so the result will never be accessible 😭 |
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.
Functional review. Tests are passing again. :+1
/ocabot merge patch Merging as it is raising errors on current branch |
This PR looks fantastic, let's merge it! |
Congratulations, your PR was merged at c562f31. Thanks a lot for contributing to OCA. ❤️ |
you can still check the msg in the exception in theory. I'll have a look as I don't like we are not testing the right thing |
FTR fixed like this on v16 OCA/edi-framework@f1e6976 |
@simahawk
Solves #818
I had to apply the same patch on #814
Might be related to odoo/odoo#135028 ?