Issue #13434: skip the time.xmlrpc.com test, and reenable the buildbot test.

This commit is contained in:
Antoine Pitrou 2011-11-28 21:12:24 +01:00
parent 11942a58a1
commit 5a88c38fab

View file

@ -14,6 +14,7 @@ class CurrentTimeTest(unittest.TestCase):
def test_current_time(self):
# Get the current time from xmlrpc.com. This code exercises
# the minimal HTTP functionality in xmlrpclib.
self.skipTest("time.xmlrpc.com is unreliable")
server = xmlrpclib.ServerProxy("http://time.xmlrpc.com/RPC2")
try:
t0 = server.currentTime.getCurrentTime()
@ -38,7 +39,6 @@ class CurrentTimeTest(unittest.TestCase):
def test_python_builders(self):
# Get the list of builders from the XMLRPC buildbot interface at
# python.org.
self.skipTest("XMLRPC interface removed in Buildbot 0.8.2")
server = xmlrpclib.ServerProxy("http://www.python.org/dev/buildbot/all/xmlrpc/")
try:
builders = server.getAllBuilders()