code: def test_get_arcticdb_symbols(unittest, arcticdb_path, arcticdb):
      pytest.importorskip("arcticdb")
      global_state.use_arcticdb_store(
          uri=arcticdb_path, library="dtale"
      )
  
      with app.test_client() as c:
          response = c.get("/dtale/arcticdb/dtale/symbols")
          response_data = response.get_json()
          unittest.assertEqual(
              sorted(response_data["symbols"]),
              ["df1", "large_df", "slashed/df1"],
          )
  
      with mock.patch(
          "dtale.global_state.store.load_symbols"
      ) as load_symbols_mock:
          with app.test_client() as c:
              response = c.get(
                  "/dtale/arcticdb/dtale/symbols",
                  query_string=dict(refresh="true"),
              )
              response_data = response.get_json()
              unittest.assertEqual(
                  sorted(response_data["symbols"]),
                  ["df1", "large_df", "slashed/df1"],
              )
              load_symbols_mock.assert_called_once_with("dtale")
  
      with ExitStack() as stack:
          stack.enter_context(
              mock.patch(
                  "dtale.global_state.store.load_symbols",
                  mock.Mock(return_value=None),
              )
          )
          stack.enter_context(
              mock.patch(
                  "dtale.global_state.store._symbols",
                  dict(
                      large_lib=[
                          "security{}".format(v) for v in range(501)
                      ]
                  ),
              )
          )
  
          with app.test_client() as c:
              response = c.get("/dtale/arcticdb/large_lib/symbols")
              response_data = response.get_json()
              unittest.assertEqual(
                  response_data["symbols"],
                  [
                      "security0",
                      "security1",
                      "security2",
                      "security3",
                      "security4",
                  ],
              )
              assert response_data["async"]
  
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 15 for calling a global function with example usage: test_get_arcticdb_symbols(unittest, arcticdb_path, arcticdb) without return types