diff --git a/tests/charts/api_tests.py b/tests/charts/api_tests.py index 9e6dca7805043..35fe93942a8cb 100644 --- a/tests/charts/api_tests.py +++ b/tests/charts/api_tests.py @@ -28,6 +28,7 @@ from sqlalchemy.sql import func from superset.utils.core import get_example_database +from tests.fixtures.unicode_dashboard import load_unicode_dashboard_with_slice from tests.test_app import app from superset.connectors.connector_registry import ConnectorRegistry from superset.extensions import db, security_manager @@ -567,6 +568,7 @@ def test_get_chart_no_data_access(self): rv = self.client.get(uri) self.assertEqual(rv.status_code, 404) + @pytest.mark.usefixtures("load_unicode_dashboard_with_slice") def test_get_charts(self): """ Chart API: Test get charts @@ -733,6 +735,7 @@ def test_get_charts_favorite_filter(self): assert rv.status_code == 200 assert len(expected_models) == data["count"] + @pytest.mark.usefixtures("load_unicode_dashboard_with_slice") def test_get_charts_page(self): """ Chart API: Test get charts filter