mirror of
https://github.com/apache/superset.git
synced 2026-04-18 07:35:09 +00:00
chore: update fixtures scope that are loading data into the analytical db (#17780)
* Update db setup fixture scope * Load data into db only once * Update fixture scopes for data loading * cleanup imports * try import * Update scope * fix cleanup * Import all fixtures * Separate data log and metadata creation * Retain table description * fix dtype Co-authored-by: Bogdan Kyryliuk <bogdankyryliuk@dropbox.com>
This commit is contained in:
@@ -21,6 +21,7 @@ import json
|
||||
from unittest.mock import MagicMock
|
||||
from tests.integration_tests.fixtures.birth_names_dashboard import (
|
||||
load_birth_names_dashboard_with_slices,
|
||||
load_birth_names_data,
|
||||
)
|
||||
|
||||
from sqlalchemy import String, Date, Float
|
||||
@@ -42,8 +43,11 @@ from superset.tasks.cache import (
|
||||
)
|
||||
|
||||
from .base_tests import SupersetTestCase
|
||||
from .dashboard_utils import create_dashboard, create_slice, create_table_for_dashboard
|
||||
from .fixtures.unicode_dashboard import load_unicode_dashboard_with_slice
|
||||
from .dashboard_utils import create_dashboard, create_slice, create_table_metadata
|
||||
from .fixtures.unicode_dashboard import (
|
||||
load_unicode_dashboard_with_slice,
|
||||
load_unicode_data,
|
||||
)
|
||||
|
||||
URL_PREFIX = "http://0.0.0.0:8081"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user