move example to different port
[multitaskhttpd.git] / testjsonrpc.py
index 47eae408e3ab58d2ecd938121a3b3c3198c558cd..e70f0d5a2ceb4ee15e2ca21d299241874dfbde50 100644 (file)
@@ -3,7 +3,7 @@ import jsonrpclib
 
 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")