def METHOD_NAME(offline_event_factory):
    EVENT_DATE = parse("2020-01-05 17:00:00 UTC")
    ACTION_DATE = EVENT_DATE - timedelta(hours=EVENT_STARTING_HOURS)
    CURRENT_DATE = ACTION_DATE + timedelta(minutes=30)
    content_type = ContentType.objects.get_for_model(OfflineEvent)
    event = offline_event_factory(
        date=EVENT_DATE,
    )
    project = event.project
    action_count = Action.objects.filter(
        verb=START, obj_content_type=content_type
    ).count()
    assert action_count == 0
    with freeze_time(CURRENT_DATE):
        call_command("create_offlineevent_system_actions")
        action_count = Action.objects.filter(
            verb=START, obj_content_type=content_type
        ).count()
        action = Action.objects.filter(verb=START, obj_content_type=content_type).last()
        assert action_count == 1
        assert action.obj == event
        assert action.verb == START
        assert action.project == project