def METHOD_NAME(
    self, lti_params, assignment, do_lti_launch
):
    response = do_lti_launch(post_params=lti_params, status=200)
    js_config = self.get_client_config(response)
    assert js_config["mode"] == JSConfig.Mode.BASIC_LTI_LAUNCH
    assert urlencode({"url": assignment.document_url}) in js_config["viaUrl"]