module documentation
Class AddedCommandProtocol This is a protocol which responds to AddErrorsCommand, and is used to test that inherited commands can add their own new types of errors, but still respond in the same way to their parents types of errors.
Class AddErrorsCommand This is a command which subclasses another command but adds errors to the list.
Class AmpBoxTests Test a few essential properties of AMP boxes, mostly with respect to serialization correctness.
Class AMPTests No class docstring; 0/1 instance variable, 38/38 methods documented
Class BadNoAnswerCommandProtocol No class docstring; 1/1 method documented
Class BaseCommand This provides a command that will be subclassed.
Class BinaryProtocolTests Tests for amp.BinaryBoxProtocol.
Class BrokenReturn An example of a perfectly good command, but the handler is going to return None...
Class CommandDispatchTests The AMP CommandDispatcher class dispatches converts AMP boxes into commands and responses using Command.responder decorator.
Class CommandInheritanceTests These tests verify that commands inherit error conditions properly.
Class CommandLocatorTests The CommandLocator should enable users to specify responders to commands as functions that take structured objects, annotated with metadata.
Class CommandTests Tests for amp.Argument and amp.Command.
Class DateTimeTests Tests for amp.DateTime, amp._FixedOffsetTZInfo, and amp.utc.
Class DecimalTests Tests for amp.Decimal.
Class DeferredSymmetricCommandProtocol Undocumented
Class DescriptorTests Tests for amp.Descriptor, an argument type for passing a file descriptor over an AMP connection over a UNIX domain socket.
Class DontRejectMe Undocumented
Class DroppyCert Undocumented
Class FactoryNotifier Undocumented
Class FakeLocator This is a fake implementation of the interface implied by CommandLocator.
Class FakeSender This is a fake implementation of the 'box sender' interface implied by AMP.
Class FloatTests Tests for amp.Float.
Class FutureHello Undocumented
Class GetList Undocumented
Class Goodbye Undocumented
Class GrumpyCert Undocumented
Class Hello Undocumented
Class InheritedCommand This is a command which subclasses another command but does not override anything.
Class InheritedCommandProtocol This is a protocol which responds to InheritedCommand, and is used to test that inherited commands inherit their bases' errors if they do not respond to any of their own.
Class InheritingLocator This locator should inherit the responder from OverridingLocator.
Class IOSimCert No class docstring; 0/1 class variable, 1/2 method documented
Class ListOfDateTimeTests Tests for ListOf combined with amp.DateTime.
Class ListOfDecimalNanTests Tests for ListOf combined with amp.Decimal for not-a-number values.
Class ListOfDecimalTests Tests for ListOf combined with amp.Decimal.
Class ListOfIntegersTests Tests for ListOf combined with amp.Integer.
Class ListOfOptionalTests Tests to ensure ListOf AMP arguments can be omitted from AMP commands via the 'optional' flag.
Class ListOfStringsTests Tests for ListOf combined with amp.String.
Class ListOfTestsMixin Base class for testing ListOf, a parameterized zero-or-more argument type.
Class ListOfUnicodeTests Tests for ListOf combined with amp.Unicode.
Class LiteralAmp Undocumented
Class LiveFireBase Utility for connected reactor-using tests.
Class LiveFireTLSTests No class docstring; 1/1 method documented
Class MagicSchemaCommand A command which overrides parseResponse, parseArguments, and makeResponse.
Class MyBox A unique dict subclass.
Class NoAnswerCommandProtocol Undocumented
Class NoAnswerHello Undocumented
Class NoNetworkProtocol An amp.AMP subclass which overrides private methods to avoid testing the network. It also provides a responder for MagicSchemaCommand that does nothing, so that tests can test aspects of the interaction of ...
Class NormalCommandProtocol This is a protocol which responds to BaseCommand, and is used to test that inheritance does not interfere with the normal handling of errors.
Class OKCert Undocumented
Class OverrideLocatorAMP No class docstring; 0/3 instance variable, 1/3 method documented
Class OverridingLocator A locator which overrides the responder to the 'simple' command.
Class ParsingTests No class docstring; 4/4 methods documented
Class PlainVanillaLiveFireTests No class docstring; 1/1 method documented
Class PretendRemoteCertificateAuthority Undocumented
Class ProtocolIncludingArgument An amp.Argument which encodes its parser and serializer arguments *including the protocol* into its parsed and serialized forms.
Class ProtocolIncludingCommand A command that has argument and response schemas which use ProtocolIncludingArgument.
Class ProtocolIncludingCommandWithDifferentCommandType A ProtocolIncludingCommand subclass whose commandType is MyBox
Class RemoteAmpErrorTests Tests for amp.RemoteAmpError.
Class SecurableProto Undocumented
Class SecuredPing Undocumented
Class SimpleGreeting A very simple greeting command that uses a few basic argument types.
Class SimpleSymmetricCommandProtocol Undocumented
Class SimpleSymmetricProtocol Undocumented
Class SingleUseFactory Undocumented
Class SlightlySmartTLS Specific implementation of server side protocol with different management of TLS.
Class TestLocator A locator which implements a responder to the 'simple' command.
Class TestProto A trivial protocol for use in testing where a Protocol is expected.
Class TestSwitchProto Undocumented
Class TLSNotAvailableTests Tests what happened when ssl is not available in current installation.
Class TLSTests No class docstring; 4/4 methods documented
Class TotallyDumbProtocol Undocumented
Class TransportPeer Undocumented
Class UNIXStringTransport An in-memory implementation of interfaces.IUNIXTransport which collects all data given to it for later inspection.
Class UTCTests Tests for amp.utc.
Class WaitForever Undocumented
Class WithServerTLSVerificationTests No class docstring; 1/1 method documented
Class WTF An example of an invalid command.
Exception DeathThreat Greeting was insufficiently kind.
Exception InheritedError This error is used to check inheritance.
Exception OtherInheritedError This is a distinct error for checking inheritance.
Exception ThingIDontUnderstandError Undocumented
Exception UnfriendlyGreeting Greeting was insufficiently kind.
Exception UnknownProtocol Asked to switch to the wrong protocol.
Function connectedServerAndClient Returns a 3-tuple: (client, server, pump)
Function show Undocumented
Function tempSelfSigned Undocumented
Constant SWITCH_CLIENT_DATA Undocumented
Constant SWITCH_SERVER_DATA Undocumented
Constant THING_I_DONT_UNDERSTAND Undocumented
Variable reactorLacksSSL Undocumented
Variable skipSSL Undocumented
Variable tempcert Undocumented
Function _loseAndPass Undocumented
def connectedServerAndClient(ServerClass=SimpleSymmetricProtocol, ClientClass=SimpleSymmetricProtocol, *a, **kw): (source)

Returns a 3-tuple: (client, server, pump)

def show(x): (source)

Undocumented

def tempSelfSigned(): (source)

Undocumented

SWITCH_CLIENT_DATA: bytes = (source)

Undocumented

Value
b'Success!'
SWITCH_SERVER_DATA: bytes = (source)

Undocumented

Value
b'No, really.  Success.'
THING_I_DONT_UNDERSTAND: bytes = (source)

Undocumented

Value
b'gwebol nargo'
reactorLacksSSL: bool = (source)

Undocumented

Undocumented

tempcert = (source)

Undocumented

def _loseAndPass(err, proto): (source)

Undocumented