code: def test_edit_string():
      from dtale.views import build_dtypes_state, format_data
  
      df = edit_data()
      df, _ = format_data(df)
      with app.test_client() as c:
          data = {c.port: df}
          build_data_inst(data)
          settings = {c.port: {"locked": ["a"]}}
          build_settings(settings)
          dtypes = {c.port: build_dtypes_state(df)}
          build_dtypes(dtypes)
          resp = c.get(
              "/dtale/edit-cell/{}".format(c.port),
              query_string=dict(col="h", rowIndex=0, updated="cbd"),
          )
          assert "error" not in resp.json
          assert data[c.port]["h"].values[0] == "cbd"
  
file_path: dtale/tests/dtale/test_edit_cell.py
imports: import datetime
  import json
  import numpy
  import pandas
  import pytest
  from tests.dtale import build_data_inst, build_settings, build_dtypes
  from tests.dtale.test_views import app
label_desc: Use image node_id 8 for calling a global function with example usage: test_edit_string() without return types