Serge Bayet (seba) 501f57e840 [FIX] test_themes: run configurator standalone test under mocked request
Commit [1] copies configurator pages during the flow. When the
standalone test leaves website_id in the context, that copy now tries
to create generic views with a website-scoped environment and hits the
ir.ui.view guard. Running the configurator inside MockRequest mimics the
real HTTP context (request-driven website, no forced id on the ORM), so
the copy succeeds and the test passes again.

[1]: https://github.com/odoo/odoo/commit/4231c9e545fdebdad034a4418f2a11e6691bac61

runbot-232963

closes odoo/design-themes#1159

Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
2025-09-30 14:43:08 +00:00
2021-05-10 15:45:35 +02:00
2025-09-07 02:15:50 +00:00
S
Description
No description provided
764 MiB
Languages
SCSS 49.6%
Python 25.4%
JavaScript 24.4%
Rich Text Format 0.5%