summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-02 13:13:18 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-02 13:13:18 -0800
commita1b160c1ff4ee1576b82f98990285ccddadd9b61 (patch)
treeb2f602cc5394486822e624b82a9efbc3784b9b9d /tests/test_sftp.py
parent3f500d0c1ab4b986f7c329254256dd678afd1f6f (diff)
parentf3649c0d7d9d6d46269c5ad05ef88383cf50180f (diff)
Merge branch '1.13' into 1.14
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-xtests/test_sftp.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_sftp.py b/tests/test_sftp.py
index 2b6aa3b6..980e8367 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -776,6 +776,11 @@ class SFTPTest (unittest.TestCase):
sftp.remove('%s/nonutf8data' % FOLDER)
+ def test_sftp_attributes_empty_str(self):
+ sftp_attributes = SFTPAttributes()
+ self.assertEqual(str(sftp_attributes), "?--------- 1 0 0 0 (unknown date) ?")
+
+
if __name__ == '__main__':
SFTPTest.init_loopback()
# logging is required by test_N_file_with_percent