Contributors mailing list archives

Browse archives


Re: How to test v14 upgrade scripts

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