diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2015-11-03 12:47:27 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-11-03 12:47:27 -0800 |
commit | 7108289226d460411cf7dabcd065b603be480113 (patch) | |
tree | 51b50b9ff6a46256f7c4d27ad8bf440f3ccdeef4 /tests | |
parent | e7808e11de87127451f25e5cd45f8f764cbcb590 (diff) | |
parent | 0a57d0337778d99066688e310c81d449c64c9bb6 (diff) |
Merge branch '1.13' into 525-int
Diffstat (limited to 'tests')
-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 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 |