Part of lp.codehosting.tests.test_sftp View In Hierarchy
Method | setUp | Undocumented |
Method | test_serverSetAttrs | Undocumented |
Method | test_serverGetAttrs | Undocumented |
Method | test_serverGetAttrsError | Undocumented |
Method | test_removeFile | Undocumented |
Method | test_removeFileError | Undocumented |
Method | test_removeFile_directory | Undocumented |
Method | test_renameFile | Undocumented |
Method | test_renameFileError | Undocumented |
Method | test_makeDirectory | Undocumented |
Method | test_makeDirectoryError | Undocumented |
Method | test_removeDirectory | Undocumented |
Method | test_removeDirectoryError | Undocumented |
Method | test_gotVersion | Undocumented |
Method | test_extendedRequest | Undocumented |
Method | test_realPath | Undocumented |
Method | test_makeLink | Undocumented |
Method | test_readLink | Undocumented |
Method | test_openDirectory | Undocumented |
Method | test_openDirectoryError | Undocumented |
Method | test_openDirectoryMemory | openDirectory works on MemoryTransport. |
Method | test__format_directory_entries_with_MemoryStat | format_directory_entries works with MemoryStat. |
Method | do_translation_test | Test that exception is translated into the correct SFTPError. |
Method | test_translatePermissionDenied | Undocumented |
Method | test_translateTransportNotPossible | Undocumented |
Method | test_translateNoSuchFile | Undocumented |
Method | test_translateFileExists | Undocumented |
Method | test_translateFileIsADirectory | Undocumented |
Method | test_translateDirectoryNotEmpty | Undocumented |
Method | test_translateRandomError | Undocumented |
Inherited from SFTPTestMixin:
Method | checkAttrs | Check that an attrs dictionary matches a stat result. |
Method | getPathSegment | Return a unique path segment for testing. |
MemoryStat lacks many fields, but format_directory_entries works around that.