chore: Ensure Mixins are ordered according to the MRO (#26288)

This commit is contained in:
John Bodley
2023-12-16 14:11:58 +13:00
committed by GitHub
parent 8450cca998
commit aafb54d042
24 changed files with 31 additions and 31 deletions

View File

@@ -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)

View File

@@ -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] = []

View File

@@ -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(