Mercurial > p > roundup > code
comparison test/test_xmlrpc.py @ 5408:e46ce04d5bbc
Python 3 preparation: update xmlrpclib / SimpleXMLRPCServer imports.
New roundup/anypy/xmlrpc_.py added. Manual patch.
| author | Joseph Myers <jsm@polyomino.org.uk> |
|---|---|
| date | Wed, 25 Jul 2018 00:16:00 +0000 |
| parents | d26921b851c3 |
| children | 28613ada27db |
comparison
equal
deleted
inserted
replaced
| 5407:f004824563a3 | 5408:e46ce04d5bbc |
|---|---|
| 5 # | 5 # |
| 6 | 6 |
| 7 from __future__ import print_function | 7 from __future__ import print_function |
| 8 import unittest, os, shutil, errno, sys, difflib, cgi, re | 8 import unittest, os, shutil, errno, sys, difflib, cgi, re |
| 9 | 9 |
| 10 from xmlrpclib import MultiCall | 10 from roundup.anypy import xmlrpc_ |
| 11 MultiCall = xmlrpc_.client.MultiCall | |
| 11 from roundup.cgi.exceptions import * | 12 from roundup.cgi.exceptions import * |
| 12 from roundup import init, instance, password, hyperdb, date | 13 from roundup import init, instance, password, hyperdb, date |
| 13 from roundup.xmlrpc import RoundupInstance, RoundupDispatcher | 14 from roundup.xmlrpc import RoundupInstance, RoundupDispatcher |
| 14 from roundup.backends import list_backends | 15 from roundup.backends import list_backends |
| 15 from roundup.hyperdb import String | 16 from roundup.hyperdb import String |
