summaryrefslogtreecommitdiff
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-04 14:45:01 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-04 14:45:01 -0800
commitecf3a820323d7821c30ef4b568cb885b381e368a (patch)
treeed2c9625db49edc63fc6389d5d1c303740b508b3 /tests/test_sftp.py
parent49072f3537a8981e9d448c22481a1d2b92c03643 (diff)
parent2a99a8c9a4bde66720e9357963ce1896830528a1 (diff)
downloadparamiko-ecf3a820323d7821c30ef4b568cb885b381e368a.tar.gz
Merge branch 'master' into 562-int
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 55762c21..131b8abf 100755
--- a/tests/test_sftp.py
+++ b/tests/test_sftp.py
@@ -812,6 +812,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