mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
feat(docker): Add pytest support to docker-compose-light.yml (#34373)
Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
committed by
GitHub
parent
6f5d9c989a
commit
246181a546
@@ -659,6 +659,14 @@ def test_get_schema_access_for_file_upload() -> None:
|
||||
"""
|
||||
Test the `get_schema_access_for_file_upload` method.
|
||||
"""
|
||||
# Skip if gsheets dialect is not available (Shillelagh not installed in Docker)
|
||||
try:
|
||||
from sqlalchemy import create_engine
|
||||
|
||||
create_engine("gsheets://")
|
||||
except Exception:
|
||||
pytest.skip("gsheets:// dialect not available (Shillelagh not installed)")
|
||||
|
||||
database = Database(
|
||||
database_name="first-database",
|
||||
sqlalchemy_uri="gsheets://",
|
||||
|
||||
Reference in New Issue
Block a user