diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-07-09 15:35:52 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-07-12 08:47:40 +0000 |
| commit | 6532b8716520d8cddc23a1e42c5c602b0c9c3c88 (patch) | |
| tree | 849723656052fdb5bb25b0406106c23c8afdb460 /addons/web/static/src/js/views/basic | |
| parent | 6f2efae1f138bfeb011bf336e21c131418b8fc3c (diff) | |
[FIX] core: avoid writting sources during tests
Future runbot improvement may share sources between build,
meaning that sources will be readonly to avoid any interaction.
_touch() was supposed to handle ro filesystem but
f7130556 introduced a new test that was not working
in this case.
Instead of trying to touch file and pseudomocking the result
if the filesystem is readonly, this commit add a real patch
on getmtime.
cherry pick of b295723c999b94420e7ef2d3bddc040983c54f13
closes odoo/odoo#34815
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic')
0 files changed, 0 insertions, 0 deletions
