mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
chore: Ensure Mixins are ordered according to the MRO (#26288)
This commit is contained in:
@@ -73,7 +73,7 @@ CHART_DATA_URI = "api/v1/chart/data"
|
||||
CHARTS_FIXTURE_COUNT = 10
|
||||
|
||||
|
||||
class TestChartApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
|
||||
class TestChartApi(ApiOwnersTestCaseMixin, InsertChartMixin, SupersetTestCase):
|
||||
resource_name = "chart"
|
||||
|
||||
@pytest.fixture(autouse=True)
|
||||
|
||||
@@ -63,7 +63,7 @@ from tests.integration_tests.fixtures.world_bank_dashboard import (
|
||||
DASHBOARDS_FIXTURE_COUNT = 10
|
||||
|
||||
|
||||
class TestDashboardApi(SupersetTestCase, ApiOwnersTestCaseMixin, InsertChartMixin):
|
||||
class TestDashboardApi(ApiOwnersTestCaseMixin, InsertChartMixin, SupersetTestCase):
|
||||
resource_name = "dashboard"
|
||||
|
||||
dashboards: list[Dashboard] = []
|
||||
|
||||
@@ -31,7 +31,7 @@ from tests.integration_tests.insert_chart_mixin import InsertChartMixin
|
||||
from .base_tests import SupersetTestCase
|
||||
|
||||
|
||||
class TestProfile(SupersetTestCase, InsertChartMixin):
|
||||
class TestProfile(InsertChartMixin, SupersetTestCase):
|
||||
def insert_dashboard_created_by(self, username: str) -> Dashboard:
|
||||
user = self.get_user(username)
|
||||
dashboard = self.insert_dashboard(
|
||||
|
||||
Reference in New Issue
Block a user