Ir al contenido
Menú
Se marcó esta pregunta

Hello everyone,

if we create a new branch on development, we get this error:

2024-05-13 10:56:22,384 4 ERROR database odoo.addons.website.tests.test_assets: FAIL: TestWebAssets.test_ensure_correct_website_asset
Traceback (most recent call last):
  File "/home/odoo/src/odoo/addons/website/tests/test_assets.py", line 248, in test_ensure_correct_website_asset
    self.assertEqual(
AssertionError: Lists differ: ['/web/assets/2/f7ee451/web.assets_frontend.min.js'] != ['/web/assets/2/05cf006/web.assets_frontend.min.js']

First differing element 0:
'/web/assets/2/f7ee451/web.assets_frontend.min.js'
'/web/assets/2/05cf006/web.assets_frontend.min.js'

- ['/web/assets/2/f7ee451/web.assets_frontend.min.js']
?                  ^^^^^^

+ ['/web/assets/2/05cf006/web.assets_frontend.min.js']
?                 +++ ^^^
: Only the website asset is expected to be present

We've only added one website theme; otherwise, we're using Odoo in its default settings and haven't added any other extras.

Any ideas how to fix this? On Staging and Production the test complete without any errors.

Hope you can help

Cheers


Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
1
may 23
2044
7
dic 24
7424
0
jul 24
1004
0
feb 24
3081
0
ago 23
1172