Re-enable the SFTP nosetests. Seems like the latest version of paramiko no

longer has the problems we were encountering before. Also required a quick
fix to SFTPFS.removeddir(..., recursive=True) 
parent ffb5d43d
......@@ -545,7 +545,8 @@ class SFTPFS(FS):
raise
if recursive:
try:
self.removedir(dirname(path),recursive=True)
if dirname(path) not in ('', '/'):
self.removedir(dirname(path),recursive=True)
except DirectoryNotEmptyError:
pass
......
......@@ -127,7 +127,6 @@ except ImportError:
class TestSFTPFS(TestRPCFS):
__test__ = not PY3
__test__ = False
def makeServer(self,fs,addr):
return BaseSFTPServer(addr,fs)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment