def METHOD_NAME(self):
    """
    If the LTI configuration is manual, the inline ratio is set to the value of
    the "inline_ratio" field on the plugin instance.
    """
    placeholder = Placeholder.objects.create(slot="test")
    url = "http://localhost:8060/lti/videos/"
    edit = random.choice([True, False])
    lti_providers = {
        "lti_provider_test": {
            "oauth_consumer_key": "TestOauthConsumerKey",
            "shared_secret": "TestSharedSecret",
            "inline_ratio": 0.75,
        }
    }
    request = RequestFactory()
    request.user = AnonymousUser()
    request.session = {}
    request.path = "/"
    request.toolbar = CMSToolbar(request)
    request.toolbar.edit_mode_active = edit
    global_context = {"request": request}
    model_instance = add_plugin(
        placeholder,
        LTIConsumerPlugin,
        "en",
        url=url,
        lti_provider_id=None,
        inline_ratio=0.2217,
    )
    renderer = ContentRenderer(request=request)
    with override_settings(RICHIE_LTI_PROVIDERS=lti_providers):
        html = renderer.render_plugin(model_instance, global_context)
    self.assertIn(str(model_instance.pk), html)
    self.assertIn('style="padding-bottom: 22.17%"', html)