code: def test_run_with_results_backend(self) -> None:
      command = export.SqlResultExportCommand("test")
  
      data = [{"foo": i} for i in range(5)]
      payload = {
          "columns": [{"name": "foo"}],
          "data": data,
      }
      serialized_payload = sql_lab._serialize_payload(payload, False)
      compressed = utils.zlib_compress(serialized_payload)
  
      export.results_backend = mock.Mock()
      export.results_backend.get.return_value = compressed
  
      result = command.run()
  
      assert result["data"] == "foo\n0\n1\n2\n3\n4\n"
      assert result["count"] == 5
      assert result["query"].client_id == "test"
  
imports: from unittest import mock
  from unittest.mock import Mock, patch
  import pandas
  import pytest
  from flask_babel import gettext
  from superset import app, db, sql_lab
  from superset.commands.sql_lab import estimate, export, results
  from superset.common.db_query_status import QueryStatus
  from superset.errors import ErrorLevel, SupersetError, SupersetErrorType
  from superset.exceptions import SerializationError, SupersetErrorException, SupersetSecurityException, SupersetTimeoutException
  from superset.models.core import Database
  from superset.models.sql_lab import Query
  from superset.sqllab.limiting_factor import LimitingFactor
  from superset.sqllab.schemas import EstimateQueryCostSchema
  from superset.utils import core
  from superset.utils.database import get_example_database
  from tests.integration_tests.base_tests import SupersetTestCase
label_desc: Use image node_id 7 for calling the TestSqlResultExportCommand obj's underlying member method code with example usage: obj.test_run_with_results_backend() without return types