class documentation
class SerializationConfigMixin: (source)
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.
Method | set |
Create a new XML-RPC server with allowNone set to True. |
Method | test_roundtrip |
A dict which contains self.value can be round-tripped over an XMLRPC method call/response. |
Method | test_roundtrip |
self.value can be round-tripped over an XMLRPC method call/response. |
Instance Variable | flag |
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 | p |
Undocumented |
Instance Variable | port |
Undocumented |
Instance Variable | proxy |
Undocumented |
Instance Variable | value |
A value which the specified flag will allow the serialization of. Subclasses should set this. |
overridden in
twisted.web.test.test_xmlrpc.XMLRPCAllowNoneTests
, twisted.web.test.test_xmlrpc.XMLRPCUseDateTimeTests
A str giving the name of the flag which must be passed to XMLRPC
to allow the tests to pass. Subclasses should set this.
overridden in
twisted.web.test.test_xmlrpc.XMLRPCAllowNoneTests
, twisted.web.test.test_xmlrpc.XMLRPCUseDateTimeTests
A value which the specified flag will allow the serialization of. Subclasses should set this.