Simulate the generator used by simulator

def my_resource_list():
    """Simulate the generator used by simulator"""
    rl = ResourceList( resources=iter(my_resources), count=len(my_resources) )
    rl.max_sitemap_entries = max_sitemap_entries
    return(rl)