class TestJsolait(unittest.TestCase):
def test_echo(self):
- s = jsonrpclib.ServerProxy("http://127.0.0.1:8080/json", verbose=0)
+ s = jsonrpclib.Server("http://127.0.0.1:8089/json", verbose=0)
reply = s.echo("hello")
print reply
#self.assert_(reply["result"] == "foo bar")