test: add main_nodes as cluster setup

This commit is contained in:
Roman 2025-01-17 14:50:10 +08:00
parent 2fc0cd1974
commit 0d32bcd61c
No known key found for this signature in database
GPG Key ID: B8FE070B54E11B75

View File

@ -10,6 +10,11 @@ logger = get_custom_logger(__name__)
class StepsCommon:
@pytest.fixture(scope="function", autouse=True)
def cluster_setup(self):
logger.debug(f"Running fixture setup: {inspect.currentframe().f_code.co_name}")
self.main_nodes = []
@pytest.fixture(scope="function")
def setup_main_nodes(self, request):
logger.debug(f"Running fixture setup: {inspect.currentframe().f_code.co_name}")