code: def test_run_no_results_backend_executed_sql(
      self, get_df_mock: Mock
  ) -> None:
      query_obj = (
          db.session.query(Query).filter_by(client_id="test").one()
      )
      query_obj.executed_sql = "select * from bar limit 2"
      query_obj.select_sql = None
      db.session.commit()
  
      command = export.SqlResultExportCommand("test")
  
      get_df_mock.return_value = pd.DataFrame({"foo": [1, 2, 3]})
      result = command.run()
  
      assert result["data"] == "foo\n1\n2\n"
      assert result["count"] == 2
      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 5 for calling the TestSqlResultExportCommand obj's underlying member method code with example usage: obj.test_run_no_results_backend_executed_sql(get_df_mock) without return types