FTP tests.

Class Dummy Undocumented
Function passivemode_msg Construct a passive mode message with the correct encoding
Class FTPServerTestCase Simple tests for an FTP server with the default settings.
Class FTPAnonymousTests Simple tests for an FTP server with different anonymous username. The new anonymous username used in this test case is "guest"
Class BasicFTPServerTests Basic functionality of FTP server.
Class FTPServerAdvancedClientTests Test FTP server with the ftp.FTPClient class.
Class FTPServerPasvDataConnectionTests PASV data connection.
Class FTPServerPortDataConnectionTests No class docstring; 3/5 methods documented
Class DTPFactoryTests Tests for ftp.DTPFactory.
Class DTPTests Tests for ftp.DTP.
Class PrintLines Helper class used by FTPFileListingTests.
Class MyFTPFileListProtocol Undocumented
Class FTPFileListingTests No class docstring; 6/7 methods documented
Class FTPClientFailedRETRAndErrbacksUponDisconnectTests FTP client fails and RETR fails and disconnects.
Class FTPClientTests Test advanced FTP client commands.
Class FTPClientBasicTests FTP client
Class PathHandlingTests Handling paths.
Class IsGlobbingExpressionTests Tests for _isGlobbingExpression utility function.
Class BaseFTPRealmTests Tests for ftp.BaseFTPRealm, a base class to help define IFTPShell realms with different user home directory policies.
Class FTPRealmTests Tests for ftp.FTPRealm.
Class SystemFTPRealmTests Tests for ftp.SystemFTPRealm.
Class ErrnoToFailureTests Tests for ftp.errnoToFailure errno checking.
Class AnonymousFTPShellTests Test anonymous shell properties.
Class IFTPShellTestsMixin Generic tests for the IFTPShell interface.
Class FTPShellTests Tests for the ftp.FTPShell object.
Class TestConsumer A simple consumer for tests. It only works with non-streaming producers.
Class TestProducer A dumb producer.
Class IReadWriteTestsMixin Generic tests for the IReadFile and IWriteFile interfaces.
Class FTPReadWriteTests Tests for ftp._FileReader and ftp._FileWriter, the objects returned by the shell in openForReading/openForWriting.
Class CloseTestWriter Close writing to a file.
Class CloseTestShell Close writing shell.
Class FTPCloseTests Tests that the server invokes IWriteFile.close
Class FTPResponseCodeTests Tests relating directly to response codes.
Class _BufferingProtocol Undocumented
def passivemode_msg(protocol, host='127.0.0.1', port=12345):

Construct a passive mode message with the correct encoding

Parametersprotocolthe FTP protocol from which to base the encoding
hostthe hostname
portthe port
Returnsthe passive mode message
API Documentation for twisted, generated by pydoctor at 2020-03-25 17:34:30.