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.FTPClientclass. | 
| 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 defineIFTPShellrealms with different user home directory policies. | 
| Class | FTPRealmTests | Tests for ftp.FTPRealm. | 
| Class | SystemFTPRealmTests | Tests for ftp.SystemFTPRealm. | 
| Class | ErrnoToFailureTests | Tests for ftp.errnoToFailureerrno checking. | 
| Class | AnonymousFTPShellTests | Test anonymous shell properties. | 
| Class | IFTPShellTestsMixin | Generic tests for the IFTPShellinterface. | 
| Class | FTPShellTests | Tests for the ftp.FTPShellobject. | 
| 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 IReadFileandIWriteFileinterfaces. | 
| Class | FTPReadWriteTests | Tests for ftp._FileReaderandftp._FileWriter,
the objects returned by the shell inopenForReading/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 |