module documentation

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!

Note
Maintainers 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 ComparisonTestsMixin A mixin which defines a method for making assertions about the correctness of an implementation of == and !=.
Class IOPump Utility to pump data between clients and servers for protocol testing.
Class XMLAssertionMixin Test mixin defining a method for comparing serialized XML documents.
Function returnConnected Take two Protocol instances and connect them.
Function skipWithoutIPv6 Undocumented
Constant HAS_IPV6 Undocumented
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.
Function _has_ipv6 Returns True if the system can bind an IPv6 address.
def returnConnected(server, client):

Take two Protocol instances and connect them.

def skipWithoutIPv6(f):

Undocumented

HAS_IPV6 =

Undocumented

Value
_has_ipv6()
def _has_ipv6():

Returns True if the system can bind an IPv6 address.