From 73a0df1df3ee3bcda654d383303f2a5771946d41 Mon Sep 17 00:00:00 2001 From: Robey Pointer Date: Fri, 10 Dec 2004 08:30:44 +0000 Subject: [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.) --- tests/test_sftp.py | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/test_sftp.py') 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: -- cgit v1.2.3