diff options
author | Jeff Forcier <jeff@bitprophet.org> | 2015-11-02 13:15:15 -0800 |
---|---|---|
committer | Jeff Forcier <jeff@bitprophet.org> | 2015-11-02 13:15:15 -0800 |
commit | 07ff30537a225f9b9c2c31eaf9b376d412907c37 (patch) | |
tree | 70ad9c5bca7144d93120818b85d2b2723115b441 /tests/test_sftp.py | |
parent | 985df357ec039bcb28f6f260e64e9838204506f6 (diff) | |
parent | a1b160c1ff4ee1576b82f98990285ccddadd9b61 (diff) |
Merge branch '1.14' into 1.15
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 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 |