Known subclasses: twisted.web.test.test_xmlrpc.XMLRPCAllowNoneTests, twisted.web.test.test_xmlrpc.XMLRPCUseDateTimeTests

Mixin which defines a couple tests which should pass when a particular flag is passed to XMLRPC.

These are not meant to be exhaustive serialization tests, since xmlrpclib does all of the actual serialization work. They are just meant to exercise a few codepaths to make sure we are calling into xmlrpclib correctly.

Instance Variable flagName A str giving the name of the flag which must be passed to XMLRPC to allow the tests to pass. Subclasses should set this.
Instance Variable value A value which the specified flag will allow the serialization of. Subclasses should set this.
Method setUp Create a new XML-RPC server with allowNone set to True.
Method test_roundtripValue self.value can be round-tripped over an XMLRPC method call/response.
Method test_roundtripNestedValue A dict which contains self.value can be round-tripped over an XMLRPC method call/response.
flagName =
A str giving the name of the flag which must be passed to XMLRPC to allow the tests to pass. Subclasses should set this.
value =
A value which the specified flag will allow the serialization of. Subclasses should set this.
def setUp(self):

Create a new XML-RPC server with allowNone set to True.

def test_roundtripValue(self):

self.value can be round-tripped over an XMLRPC method call/response.

def test_roundtripNestedValue(self):

A dict which contains self.value can be round-tripped over an XMLRPC method call/response.

API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.