def setUpClass(cls): """Stand up fixtured/mockable XML-RPC server.""" cls.mocks = MockableTransport(SoftLayer.FixtureTransport()) cls.server = xmlrpc.create_test_server(cls.mocks) host, port = cls.server.socket.getsockname()[:2] cls.endpoint_url = "http://%s:%s" % (host, port)