code: def test_fetch_data_success(fetch_data_mock):
      return_value = ["a", "b"]
      fetch_data_mock.return_value = return_value
      cursor = mock.Mock()
      assert HiveEngineSpec.fetch_data(cursor) == return_value
  
imports: from unittest import mock
  import pytest
  import pandas
  from sqlalchemy.sql import select
  from superset.db_engine_specs.hive import HiveEngineSpec, upload_to_s3
  from superset.exceptions import SupersetException
  from superset.sql_parse import Table, ParsedQuery
  from tests.integration_tests.test_app import app
label_desc: Use image node_id 22 for calling a global function with example usage: test_fetch_data_success(fetch_data_mock) without return types