code: def validate_data_load(data_id, unittest, client):
      response = client.get(
          "/dtale/data/{}".format(data_id),
          query_string=dict(ids=json.dumps(["0"])),
      )
      response_data = response.get_json()
      expected_results = {
          "0": {
              "dtale_index": 0,
              "float_val": 1.1,
              "index": "2000-01-01",
              "int_val": 1,
              "str_val": "a",
          }
      }
      unittest.assertEqual(response_data["results"], expected_results)
      unittest.assertEqual(response_data["total"], 3)
      unittest.assertEqual(response_data["final_query"], "")
  
imports: import json
  import mock
  import pytest
  from pkg_resources import parse_version
  import dtale.global_state
  from dtale.app import build_app
  from tests import ExitStack
label_desc: Use image node_id 3 for calling a global function with example usage: validate_data_load(data_id, unittest, client) without return types