changeset 2272:2aa65d5835d4

remove useless test
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Sun, 01 Jul 2007 03:02:14 +0200
parents 7f703eba4403
children 80c083a0e4a7 529b17ec4396
files tests/rpctest.py
diffstat 1 files changed, 0 insertions(+), 18 deletions(-) [+]
line wrap: on
line diff
--- a/tests/rpctest.py	Sun Jul 01 02:44:36 2007 +0200
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,18 +0,0 @@
-# -*- coding: iso-8859-1 -*-
-import xmlrpclib
-
-if __name__ == "__main__":
-
-    server = xmlrpclib.ServerProxy('http://127.0.0.1/cgi-bin/wiki.bat/?action=xmlrpc')
-    print server
-
-    try:
-        frontpage = server.getPage('FrontPage').data.decode('UTF-8')
-        print "Length of FrontPage:", len(frontpage)
-        print "Start of FrontPage:", repr(frontpage[:50]), "..."
-        print "End of FrontPage:", "...", repr(frontpage[-50:])
-        print "Interface Version:", server.getRPCVersionSupported()
-        print "Number of Pages:", len(server.getAllPages())
-    except xmlrpclib.Error, v:
-        print "ERROR", v
-