code: def test_on_success_message_sql(canned_write_client):
      response = canned_write_client.post(
          "/data/add_name_specify_id",
          {"rowid": 5, "name": "Should be OK"},
          csrftoken_from=True,
      )
      assert response.status == 302
      assert response.headers["Location"] == "/data/add_name_specify_id"
      messages = canned_write_client.ds.unsign(
          response.cookies["ds_messages"], "messages"
      )
      assert messages == [["Name added: Should be OK with rowid 5", 1]]
  
imports: from bs4 import BeautifulSoup
  import json
  import pytest
  import re
  from .fixtures import make_app_client, app_client
label_desc: Use image node_id 9 for calling a global function with example usage: test_on_success_message_sql(canned_write_client) without return types