Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: How to test v14 upgrade scripts

by
Holger Brunn
- 29/01/2021 11:21:30
> In general, is it possible to test v14 upgrade scripts before OpenUpgrade is

> available for v14?

yes, you don't need OpenUpgrade for that.

We lack a good mechanism to test migration scripts, I'm also not sure how I 
would implement such a thing in general. The specific script looks a bit 
pointless to test to me, but you could mock the openupgradelib calls and call 
the function if you're into coverage.


-- 
Your partner for the hard Odoo problems
https://hunki-enterprises.com

Reference