def METHOD_NAME(filename, paths):
    with open(filename, 'w') as f:
        for path in paths:
            relpath = os.path.relpath(path, os.path.dirname(filename))
            assert not os.path.isabs(relpath)
            f.write(relpath)
            f.write('\n')
    assert [os.path.abspath(p) for p, _ in suite_files.iter_suite_file_paths([filename])] == [os.path.abspath(p) for p in paths]
    assert [os.path.abspath(p) for p, _ in suite_files.iter_suite_file_paths([os.path.dirname(filename)])] == [
        os.path.abspath(p) for p in paths]