code: def test_export_dashboards_original(app_context, fs):
      """
      Test that a JSON file is exported.
      """
      # pylint: disable=reimported, redefined-outer-name
      import superset.cli.importexport  # noqa: F811
  
      # reload to define export_dashboards correctly based on the
      # feature flags
      importlib.reload(superset.cli.importexport)
  
      runner = app.test_cli_runner()
      response = runner.invoke(
          superset.cli.importexport.export_dashboards,
          ("-f", "dashboards.json"),
      )
  
      assert response.exit_code == 0
      assert Path("dashboards.json").exists()
  
      # check that file is valid JSON
      with open("dashboards.json") as fp:
          contents = fp.read()
      json.loads(contents)
  
imports: import importlib
  import json
  import logging
  from pathlib import Path
  from unittest import mock
  from zipfile import is_zipfile, ZipFile
  import pytest
  import yaml
  from freezegun import freeze_time
  import superset.cli.importexport
  import superset.cli.thumbnails
  from superset import app, db
  from superset.models.dashboard import Dashboard
  from tests.integration_tests.fixtures.birth_names_dashboard import load_birth_names_dashboard_with_slices, load_birth_names_data
label_desc: Use image node_id 2 for calling a global function with example usage: test_export_dashboards_original(app_context, fs) without return types