-
-
Notifications
You must be signed in to change notification settings - Fork 933
[18.0][IMP]partner_industry_secondary - test_res_partner_industry.py #2067
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
[18.0][IMP]partner_industry_secondary - test_res_partner_industry.py #2067
Conversation
apami0111
commented
May 30, 2025
- Replaced assertRaises with assertRaisesRegex to validate specific error messages.
- Added docstrings to each test case for better clarity and documentation.
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.
Code Review. LGTM!
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.
LGTM, thanks for the improvements.
@pedrobaeza, could you please review this?
|
Why changing ValidationError by UserError? |
8f61a25 to
27762ba
Compare
- Replaced assertRaises with assertRaisesRegex to validate specific error messages. - Added docstrings to each test case for better clarity and documentation.
|
Thank you very much for your feedback! @pedrobaeza |
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.
/ocabot merge patch
|
What a great day to merge this nice PR. Let's do it! |
|
Congratulations, your PR was merged at 29cea11. Thanks a lot for contributing to OCA. ❤️ |