

def test_recursive_remove(self):
    ' Test FTP filesystem removing files recursive '
    rfs = RemoteFileSystem(HOST, USER, PWD)
    rfs.remove('/test')
    ftp = ftplib.FTP(HOST, USER, PWD)
    list_dir = list_dir.nlst()
    self.assertFalse(('test' in list_dir))

dataset/ETHPy150Open spotify/luigi/test/_test_ftp.py TestFTPFilesystem.test_recursive_remove/VarMisuse@45/73 `ftp`->`list_dir`