diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2015-11-04 14:45:01 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-11-04 14:45:01 -0800 |
commit | ecf3a820323d7821c30ef4b568cb885b381e368a (patch) | |
tree | ed2c9625db49edc63fc6389d5d1c303740b508b3 /tests/test_sftp.py | |
parent | 49072f3537a8981e9d448c22481a1d2b92c03643 (diff) | |
parent | 2a99a8c9a4bde66720e9357963ce1896830528a1 (diff) |
Merge branch 'master' into 562-int
Diffstat (limited to 'tests/test_sftp.py')
-rwxr-xr-x | tests/test_sftp.py | 5 |
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 |