From c2f3a74a49121f4d0e9238a95442b84ffa2e5a4b Mon Sep 17 00:00:00 2001 From: Dan Baron Date: Fri, 18 Oct 2024 16:00:59 +0100 Subject: [PATCH] made xdist_group methods static Signed-off-by: Dan Baron --- .../integration/feature_repos/universal/data_source_creator.py | 3 ++- .../integration/feature_repos/universal/data_sources/file.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/sdk/python/tests/integration/feature_repos/universal/data_source_creator.py b/sdk/python/tests/integration/feature_repos/universal/data_source_creator.py index 5eb9676f40..513a94ee21 100644 --- a/sdk/python/tests/integration/feature_repos/universal/data_source_creator.py +++ b/sdk/python/tests/integration/feature_repos/universal/data_source_creator.py @@ -61,5 +61,6 @@ def create_logged_features_destination(self) -> LoggingDestination: def teardown(self): raise NotImplementedError - def xdist_groups(self) -> list[str]: + @staticmethod + def xdist_groups() -> list[str]: return [] diff --git a/sdk/python/tests/integration/feature_repos/universal/data_sources/file.py b/sdk/python/tests/integration/feature_repos/universal/data_sources/file.py index 772379a493..35325c2737 100644 --- a/sdk/python/tests/integration/feature_repos/universal/data_sources/file.py +++ b/sdk/python/tests/integration/feature_repos/universal/data_sources/file.py @@ -451,7 +451,8 @@ def __init__(self, project_name: str, *args, **kwargs): self.server_port: int = 0 self.proc = None - def xdist_groups(self) -> list[str]: + @staticmethod + def xdist_groups() -> list[str]: return ["keycloak"] def setup(self, registry: RegistryConfig):