def METHOD_NAME(self, pyramid_request, youtube_service, enabled):
    youtube_service.enabled = enabled
    config = FilePickerConfig.youtube_config(
        pyramid_request, sentinel.application_instance
    )
    assert config == {"enabled": enabled}