code: def test_export_query_command(self, mock_g):
      mock_g.user = security_manager.find_user("admin")
  
      command = ExportSavedQueriesCommand([self.example_query.id])
      contents = dict(command.run())
  
      expected = [
          "metadata.yaml",
          "queries/examples/schema1/The_answer.yaml",
          "databases/examples.yaml",
      ]
      assert expected == list(contents.keys())
  
      metadata = yaml.safe_load(
          contents["queries/examples/schema1/The_answer.yaml"]
      )
      assert metadata == {
          "schema": "schema1",
          "label": "The answer",
          "description": "Answer to the Ultimate Question of Life, the Universe, and Everything",
          "sql": "SELECT 42",
          "uuid": str(self.example_query.uuid),
          "version": "1.0.0",
          "database_uuid": str(self.example_database.uuid),
      }
  
imports: from unittest.mock import patch
  import pytest
  import yaml
  from superset import db, security_manager
  from superset.commands.exceptions import CommandInvalidError
  from superset.commands.importers.exceptions import IncorrectVersionError
  from superset.commands.query.exceptions import SavedQueryNotFoundError
  from superset.commands.query.export import ExportSavedQueriesCommand
  from superset.commands.query.importers.v1 import ImportSavedQueriesCommand
  from superset.models.core import Database
  from superset.models.sql_lab import SavedQuery
  from superset.utils.database import get_example_database
  from tests.integration_tests.base_tests import SupersetTestCase
  from tests.integration_tests.fixtures.importexport import database_config, database_metadata_config, saved_queries_config, saved_queries_metadata_config
label_desc: Use image node_id 3 for calling the TestExportSavedQueriesCommand obj's underlying member method code with example usage: obj.test_export_query_command(mock_g) without return types