We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38fa4c5 commit 02c0697Copy full SHA for 02c0697
tests/test_sftp.py
@@ -256,7 +256,7 @@ def test_statvfs(self):
256
sftp = self.session.sftp_init()
257
vfs = sftp.statvfs('.')
258
self.assertTrue(vfs is not None)
259
- self.assertTrue(vfs.f_files > 0)
+ self.assertTrue(vfs.f_files >= 0)
260
self.assertTrue(vfs.f_bsize > 0)
261
self.assertTrue(vfs.f_namemax > 0)
262
@@ -272,7 +272,7 @@ def test_fstatvfs(self):
272
with sftp.open(remote_filename, 0, 0) as fh:
273
vfs = fh.fstatvfs()
274
275
276
277
278
except Exception:
0 commit comments