twisted.web.test.test_xmlrpc.SerializationConfigMixin
class documentationtwisted.web.test.test_xmlrpc
(View In Hierarchy)
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. |
str
giving the name of the flag which must be passed to XMLRPC
to allow the
tests to pass. Subclasses should set this.