diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-07-09 15:35:52 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-07-09 16:29:27 +0000 |
| commit | b295723c999b94420e7ef2d3bddc040983c54f13 (patch) | |
| tree | b09dd4ff0fef58a022310ca7b7bf8ecb00846540 /addons/web/static/src/js/views/basic/basic_model.js | |
| parent | cd0b535721c742c49a96b322c675458ccdc0ec86 (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.
closes odoo/odoo#34710
Signed-off-by: Martin Trigaux (mat) <mat@odoo.com>
Diffstat (limited to 'addons/web/static/src/js/views/basic/basic_model.js')
0 files changed, 0 insertions, 0 deletions
