code: def test_upload_to_s3_no_bucket_path():
      with app.app_context():
          with pytest.raises(
              Exception,
              match="No upload bucket specified. You can specify one in the config file.",
          ):
              upload_to_s3("filename", "prefix", Table("table"))
  
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 17 for calling a global function with example usage: test_upload_to_s3_no_bucket_path() without return types