def METHOD_NAME():
    def _assert(report, request, is_safe):
        view_fn = report.dispatcher.as_view()
        view_kwargs = {'domain': 'foo', 'report_slug': report.slug}
        assert is_location_safe(view_fn, request, (), view_kwargs) == is_safe, \
            f"{report} {'IS NOT' if is_safe else 'IS'} marked as location-safe"
    for report, request, is_safe in [
            (SafeHQReport, MagicMock(), True),
            (UnsafeHQReport, MagicMock(), False),
            (ImplicitlySafeChildOfSafeHQReport, MagicMock(), True),
            (SafeChildOfUnsafeHQReport, MagicMock(), True),
            (ConditionallySafeHQReport, MagicMock(this_is_safe=True), True),
            (ConditionallySafeHQReport, MagicMock(this_is_safe=False), False),
    ]:
        yield _assert, report, request, is_safe