def METHOD_NAME(
    self, version, commit, build, search_ranking=None, search_ignore=None
):
    """Helper function for the tests to create and sync ImportedFiles."""
    search_ranking = search_ranking or {}
    search_ignore = search_ignore or []
    _create_imported_files(
        version=version,
        commit=commit,
        build=build,
        search_ranking=search_ranking,
        search_ignore=search_ignore,
    )
    _sync_imported_files(version, build)