b.t.test_smart_transport : module documentation

Part of bzrlib.tests

Tests for smart transport
Function portable_socket_pair Return a pair of TCP sockets connected to each other.
Class StringIOSSHVendor A SSH vendor that uses StringIO to buffer writes and answer reads.
Class StringIOSSHConnection A SSH connection that uses StringIO to buffer writes and answer reads.
Class SmartClientMediumTests Tests for SmartClientMedium.
Class TestSmartClientStreamMediumRequest Tests the for SmartClientStreamMediumRequest.
Class RemoteTransportTests No class docstring; 1/3 methods documented
Class ErrorRaisingProtocol Undocumented
Class SampleRequest Undocumented
Class TestSmartServerStreamMedium No class docstring; 7/41 methods documented
Class TestGetProtocolFactoryForBytes _get_protocol_factory_for_bytes identifies the protocol factory a server
Class TestSmartTCPServer No class docstring; 6/13 methods documented
Class SmartTCPTests Tests for connection/end to end behaviour using the TCP server.
Class TestServerSocketUsage No class docstring; 2/2 methods documented
Class WritableEndToEndTests Client to server tests that require a writable transport.
Class ReadOnlyEndToEndTests Tests from the client to the server using a readonly backing transport.
Class TestServerHooks No class docstring; 5/5 methods documented
Class SmartServerCommandTests Tests that call directly into the command objects, bypassing the network
Class SmartServerRequestHandlerTests Test that call directly into the handler logic, bypassing the network.
Class RemoteTransportRegistration Undocumented
Class TestRemoteTransport No class docstring; 1/2 methods documented
Class TestSmartProtocol Base class for smart protocol tests.
Class CommonSmartProtocolTestMixin No class docstring; 1/2 methods documented
Class TestVersionOneFeaturesInProtocolOne Tests for version one smart protocol features as implemeted by version
Class TestVersionOneFeaturesInProtocolTwo Tests for version one smart protocol features as implemeted by version
Class TestSmartProtocolTwoSpecificsMixin No class docstring; 8/14 methods documented
Class TestSmartProtocolTwoSpecifics Tests for aspects of smart protocol version two that are unique to
Class TestVersionOneFeaturesInProtocolThree Tests for version one smart protocol features as implemented by version
Class LoggingMessageHandler Undocumented
Class TestProtocolThree Tests for v3 of the server-side protocol.
Class TestConventionalResponseHandlerBodyStream Undocumented
Class FakeResponder Undocumented
Class TestConventionalRequestHandlerBodyStream Tests for ConventionalRequestHandler's handling of request bodies.
Class TestMessageHandlerErrors Tests for v3 that unrecognised (but well-formed) requests/responses are
Class InstrumentedRequestHandler Test Double of SmartServerRequestHandler.
Class StubRequest Undocumented
Class TestClientDecodingProtocolThree Tests for v3 of the client-side protocol decoding.
Class TestClientEncodingProtocolThree No class docstring; 7/8 methods documented
Class StubMediumRequest A stub medium request that tracks the number of times accept_bytes is
Class TestResponseEncodingProtocolThree Undocumented
Class TestResponseEncoderBufferingProtocolThree Tests for buffering of responses.
Class TestSmartClientUnicode _SmartClient tests for unicode arguments.
Class MockMedium A mock medium that can be used to test _SmartClient.
Class Test_SmartClientVersionDetection Tests for _SmartClient's automatic protocol version detection.
Class Test_SmartClient No class docstring; 1/1 methods documented
Class LengthPrefixedBodyDecoder Undocumented
Class TestChunkedBodyDecoder Tests for ChunkedBodyDecoder.
Class TestSuccessfulSmartServerResponse No class docstring; 2/5 methods documented
Class TestFailedSmartServerResponse No class docstring; 1/2 methods documented
Class FakeHTTPMedium Undocumented
Class HTTPTunnellingSmokeTest Undocumented
Class RemoteHTTPTransportTestCase Undocumented
Class _InvalidHostnameFeature Does 'non_existent.invalid' fail to resolve?
Class _MockMediumRequest A mock ClientMediumRequest used by MockMedium.
def portable_socket_pair():
Return a pair of TCP sockets connected to each other.

Unlike socket.socketpair, this should work on Windows.

API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.