def collect_extracted_path(self, test_dir):
    result = []
    td = fileutils.as_posixpath(test_dir)
    for (t, dirs, files) in os.walk(test_dir):
        t = fileutils.as_posixpath(t)
        for d in dirs:
            nd = (posixpath.join(t, d).replace(td, '') + '/')
            result.append(nd)
        for f in files:
            nf = posixpath.join(t, f).replace(td, '')
            result.append(nf)
    result = sorted(result)
    return result
def collect_extracted_path(self, test_dir):
    result = []
    td = fileutils.as_posixpath(test_dir)
    for (t, dirs, files) in os.walk(test_dir):
        t = fileutils.as_posixpath(t)
        for d in dirs:
            nd = (posixpath.join(t, d).replace(td, ) + '/')
            result.append(nd)
        for f in files:
            nf = posixpath.join(t, f).replace(td, )
            result.append(nf)
    result = sorted(result)
    return result