summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorAlex Gaynor <alex.gaynor@gmail.com>2015-11-04 10:10:16 -0500
committerAlex Gaynor <alex.gaynor@gmail.com>2015-11-04 10:10:16 -0500
commit30a7afcdc74443c74f2ebb344a1fbf235c23bf57 (patch)
tree8d4acdf8a79ae564cfe16e9336ea8455a86f73af /tests/test_sftp.py
parent9e67e71377cea9adaaeab6dbb024f2af94ba7999 (diff)
parent4565fb517ceb54aa994ff96380b2c8f24df43968 (diff)
Merge branch 'master' into switch-to-cryptography
Conflicts: .travis.yml paramiko/ecdsakey.py paramiko/transport.py
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 cb8f7f84..aa450f59 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -811,6 +811,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