diff options
| author | Xavier-Do <xdo@odoo.com> | 2019-07-09 15:35:52 +0000 |
|---|---|---|
| committer | Xavier-Do <xdo@odoo.com> | 2019-07-12 10:01:48 +0000 |
| commit | 8bab33c9482b458e015f9a68682327097a91edab (patch) | |
| tree | 5e2651921bfa334e10490ec8d862eace2d5bfa36 /addons/mail/static/src/js/models/threads/dm_chat.js | |
| parent | 01365a3f625c9e7a80d78cf9c29ffa3d90435cd1 (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#34822
Signed-off-by: Christophe Monniez (moc) <moc@odoo.com>
Diffstat (limited to 'addons/mail/static/src/js/models/threads/dm_chat.js')
0 files changed, 0 insertions, 0 deletions
