Skip to content
Snippets Groups Projects
Commit e4c16770 authored by Xavier Morel's avatar Xavier Morel
Browse files

[FIX] link_tracker: stop performing external HTTP calls during tests


Only tests tagged as external should actually call external sites. `TestMailRenderMixin` not only does that but it calls URLs which literally don't exist either.

Patch `requests.Session.request` (via a utility added to odoo tests common) to disable that in the class.

closes odoo/odoo#128249

Signed-off-by: default avatarXavier Morel (xmo) <xmo@odoo.com>
parent c6aec26c
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment