def METHOD_NAME(init_and_sync, rpm_package_api, delete_orphans_pre):
    """Test changed addon repository."""
    addon_test_pkg_name = "test-srpm02"
    repo, remote = init_and_sync(url=RPM_KICKSTART_FIXTURE_URL)
    # check testing package is not present
    packages = rpm_package_api.list().results
    assert addon_test_pkg_name not in [p.name for p in packages]
    # re-sync w/ new remote & update repo object
    init_and_sync(repository=repo, url=RPM_DISTRIBUTION_TREE_CHANGED_ADDON_URL)
    # check new pacakge is synced to subrepo
    packages = rpm_package_api.list().results
    assert addon_test_pkg_name in [p.name for p in packages]