def METHOD_NAME(func):
    """
    Clear the cache of get_lti_select_resources and reload the urlconf.
    Has to be used as a decorator on a test method, after the override_settings.
    ie:
    @override_settings(...)
    @clear_select_resource_cache_and_reload_urlconf
    """
    def wrapper_func(*args, **kwargs):
        get_lti_select_resources.cache_clear()
        reload_urlconf()
        func(*args, **kwargs)
    return wrapper_func