def METHOD_NAME(tmpdir):
    with tmpdir.as_cwd():
        changelog_path = os.path.join(os.getcwd(), "CHANGELOG.md")
        # changelog_path = "tests/CHANGELOG.md"
        with open(changelog_path, "w", encoding="utf-8") as f:
            f.write(CHANGELOG_TEMPLATE)
        yield changelog_path
        os.remove(changelog_path)