Merge PR #3198 into 16.0

Signed-off-by etobella
pull/3200/head
OCA-git-bot 2025-02-13 15:31:03 +00:00
commit 86d8b0564b
1 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class TestRemote(HttpCase):
if remote: if remote:
remote.unlink() remote.unlink()
self.original_request = http.request
http.request = type( http.request = type(
"obj", "obj",
(object,), (object,),
@ -49,6 +50,10 @@ class TestRemote(HttpCase):
}, },
) )
def tearDown(self):
super().tearDown()
http.request = self.original_request
def test_xmlrpc_login_ok(self, *args): def test_xmlrpc_login_ok(self, *args):
"""Test Login""" """Test Login"""
data1 = self.data_demo data1 = self.data_demo