summaryrefslogtreecommitdiffhomepage
path: root/tests/test_sftp.py
diff options
context:
space:
mode:
authorJeff Forcier <jeff@bitprophet.org>2015-11-03 17:05:01 -0800
committerJeff Forcier <jeff@bitprophet.org>2015-11-03 17:05:01 -0800
commit956de60d53f0f9ed2f6b583ccefe88162665235c (patch)
tree00fade06b43510d22721919297ee1c379803c416 /tests/test_sftp.py
parentdae916f7bd6723cee95891778baff51ef45532ee (diff)
parentb0435808802cf435fd2865b7b8af2326064df82c (diff)
Merge branch 'master' into 467-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 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