mirror of
https://github.com/apache/superset.git
synced 2026-04-16 14:45:21 +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:
@@ -26,6 +26,7 @@ from typing import Any, Tuple, List, Optional
|
||||
from unittest.mock import Mock, patch
|
||||
from tests.integration_tests.fixtures.birth_names_dashboard import (
|
||||
load_birth_names_dashboard_with_slices,
|
||||
load_birth_names_data,
|
||||
)
|
||||
|
||||
import numpy as np
|
||||
@@ -81,6 +82,7 @@ from superset.views.utils import (
|
||||
from tests.integration_tests.base_tests import SupersetTestCase
|
||||
from tests.integration_tests.fixtures.world_bank_dashboard import (
|
||||
load_world_bank_dashboard_with_slices,
|
||||
load_world_bank_data,
|
||||
)
|
||||
|
||||
from .fixtures.certificates import ssl_certificate
|
||||
|
||||
Reference in New Issue
Block a user