def METHOD_NAME(upstream, downstream):
    package_config = upstream.package_config
    ChangelogHelper(upstream, downstream, package_config).prepare_upstream_locally(
        "0.1.0", "abc123a", True, None
    )
    with upstream.specfile.sections() as sections:
        assert "- Development snapshot (abc123a)" in sections.changelog