def METHOD_NAME(
    self, do_lti_launch, db_session, canvas_file_launch_params
):
    get_params, post_params = canvas_file_launch_params
    response = do_lti_launch(
        get_params=get_params, post_params=post_params, status=200
    )
    js_config = self.get_client_config(response)
    assert js_config["mode"] == JSConfig.Mode.BASIC_LTI_LAUNCH
    assert (
        js_config["api"]["viaUrl"]["path"]
        == "/api/canvas/assignments/rli-1234/via_url"
    )
    assert (
        db_session.query(Assignment)
        .filter_by(document_url="canvas://file/course/1/file_id/2")
        .count()
        == 1
    )