Exemplo n.º 1
0
 def test_xmlrpc_server(self, uri='http://127.0.0.1:3423'):
     from six.moves.xmlrpc_client import ServerProxy
     
     client = ServerProxy(uri)
     
     assert client.test_1() == 'test_1'
     assert client.test_3({'asdf':4}) == {'asdf':4}
Exemplo n.º 2
0
 def test_xmlrpc_server(self, uri='http://127.0.0.1:3423'):
     from six.moves.xmlrpc_client import ServerProxy
     
     client = ServerProxy(uri)
     
     assert client.test_1() == 'test_1'
     assert client.test_3({'asdf':4}) == {'asdf':4}