diff options
author | Robey Pointer <robey@lag.net> | 2004-12-10 08:30:44 +0000 |
---|---|---|
committer | Robey Pointer <robey@lag.net> | 2004-12-10 08:30:44 +0000 |
commit | 73a0df1df3ee3bcda654d383303f2a5771946d41 (patch) | |
tree | 5d902e9c0c4f3f684a878d0a1fb55c8ce87340a2 /tests/test_sftp.py | |
parent | fa8c4e20bdba3ba77cbf6616d9b60618b69fe72c (diff) |
[project @ Arch-1:robey@lag.net--2003-public%secsh--dev--1.0--patch-122]
symlink, readlink
add support for symlink command, and finish support for readlink. (i guess
i started readlink a while ago but forgot to add the right method to the
SFTPServerInterface class.)
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-x | tests/test_sftp.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py index 64334fbc..eebb2184 100755 --- a/tests/test_sftp.py +++ b/tests/test_sftp.py @@ -295,6 +295,7 @@ class SFTPTest (unittest.TestCase): self.assertEqual(f.readlines(), [ 'original\n' ]) f.close() self.assertEqual(sftp.lstat(FOLDER + '/link.txt').st_size, 12) + self.assertEqual(sftp.stat(FOLDER + '/link.txt').st_size, 9) self.assertEqual(sftp.stat(FOLDER + '/original.txt').st_size, 9) finally: try: |