commit
86d8b0564b
|
@ -33,6 +33,7 @@ class TestRemote(HttpCase):
|
|||
if remote:
|
||||
remote.unlink()
|
||||
|
||||
self.original_request = http.request
|
||||
http.request = type(
|
||||
"obj",
|
||||
(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):
|
||||
"""Test Login"""
|
||||
data1 = self.data_demo
|
||||
|
|
Loading…
Reference in New Issue