def test_file_list_emptydirs(self): with patch.dict( gitfs.__opts__, { 'cachedir': self.master_opts['cachedir'], 'gitfs_remotes': ['file://' + self.tmp_repo_git], 'sock_dir': self.master_opts['sock_dir'] }): ret = gitfs.file_list_emptydirs(LOAD) self.assertIn('empty_dir', ret)
def test_file_list_emptydirs(self): with patch.dict(gitfs.__opts__, {'cachedir': self.master_opts['cachedir'], 'gitfs_remotes': ['file://' + self.tmp_repo_git], 'sock_dir': self.master_opts['sock_dir']}): ret = gitfs.file_list_emptydirs(load) self.assertIn('empty_dir', ret)