docstr: target: test insert varchar column
  method: create table with varchar column
  expected: ok
docstr_tok: ["target",":","test","insert","varchar","column","method",":","create","table","with","varchar","column","expected",":","ok"]
code: def test_insert_varchar(self):
      """
      target: test insert varchar column
      method: create table with varchar column
      expected: ok
      """
      infinity_obj = infinity.connect(REMOTE_HOST)
      db_obj = infinity_obj.get_database("default")
      db_obj.drop_table("test_insert_varchar", True)
      table_obj = db_obj.create_table(
          "test_insert_varchar", {"c1": "varchar"}, None
      )
      assert table_obj
  
      res = table_obj.insert([{"c1": "test_insert_varchar"}])
      assert res.success
      res = table_obj.insert([{"c1": " test insert varchar "}])
      assert res.success
      res = table_obj.insert([{"c1": "^789$ test insert varchar"}])
      assert res.success
  
      res = table_obj.output(["*"]).to_df()
      pd.testing.assert_frame_equal(
          res,
          pd.DataFrame(
              {
                  "c1": (
                      "test_insert_varchar",
                      " test insert varchar ",
                      "^789$ test insert varchar",
                  )
              }
          ),
      )
      db_obj.drop_table("test_insert_varchar")
  
file_path: infinity/python/test/test_insert.py
imports: import pandas
  from numpy import dtype
  import infinity
  from infinity.common import REMOTE_HOST
label_desc: Use image node_id 3 for calling the TestInsert obj's underlying member method code with example usage: obj.test_insert_varchar() without return types