# Part of Odoo. See LICENSE file for full copyright and licensing details. import json import requests from http import HTTPStatus from unittest.mock import patch from odoo.addons.base.tests.common import HttpCaseWithUserDemo from odoo.tests.common import JsonRpcException, new_test_user, tagged from odoo.tools import mute_logger SAMPLE = { "text": "

Al mal tiempo, buena cara.

", "src": "es", "en": "

To bad weather, good face.

", "fr": "

Au mauvais temps, bonne tĂȘte.

", "nl": "