Private test utilities for use throughout Twisted's test suite. Unlike proto_helpers, this is no exception to the don't-use-it-outside-Twisted-we-won't-maintain-compatibility rule!

NoteMaintainers be aware: things in this module should be gradually promoted to more full-featured test helpers and exposed as public API as your maintenance time permits. In order to be public API though, they need their own test cases.
Class IOPump Utility to pump data between clients and servers for protocol testing.
Function returnConnected Take two Protocol instances and connect them.
Class XMLAssertionMixin Test mixin defining a method for comparing serialized XML documents.
Class ComparisonTestsMixin A mixin which defines a method for making assertions about the correctness of an implementation of == and !=.
Class _Equal A class the instances of which are equal to anything and everything.
Class _NotEqual A class the instances of which are equal to nothing.
def returnConnected(server, client):

Take two Protocol instances and connect them.

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