code: def test_show_sqlite():
      import dtale
  
      parquet_path = os.path.join(
          os.path.dirname(__file__), "..", "data/test.sqlite3"
      )
      mock_show = mock.Mock()
      with mock.patch(
          "dtale.cli.loaders.sqlite_loader.show", mock_show
      ):
          dtale.show_sqlite(path=parquet_path, table="test_simpsons")
          df = mock_show.call_args[1]["data_loader"]()
          assert df is not None
  
      with mock.patch(
          "dtale.cli.loaders.sqlite_loader.show", mock_show
      ):
          with pytest.raises(Exception) as error:
              dtale.show_sqlite(path=parquet_path)
              assert (
                  "You must specify a table name in order to use sqlite loader!"
                  in str(error.value)
              )
  
file_path: dtale/tests/dtale/test_show_loaders.py
imports: import json
  import os
  import pandas
  import mock
  import pytest
  from six import PY3
  from dtale.pandas_util import check_pandas_version
  from tests import ExitStack
label_desc: Use image node_id 5 for calling a global function with example usage: test_show_sqlite() without return types