From 172dbe8fae4d0f581050bc56c02195ab7ee6570a Mon Sep 17 00:00:00 2001 From: vavuthu Date: Tue, 30 Jan 2024 12:56:32 +0530 Subject: [PATCH] Fix directory path in conftest Signed-off-by: vavuthu --- tests/functional/pv/conftest.py | 2 +- tests/functional/storageclass/conftest.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/functional/pv/conftest.py b/tests/functional/pv/conftest.py index 7e9c83694c8..e30b5fc6bb5 100644 --- a/tests/functional/pv/conftest.py +++ b/tests/functional/pv/conftest.py @@ -19,7 +19,7 @@ def pytest_collection_modifyitems(items): if config.ENV_DATA["platform"].lower() in constants.MANAGED_SERVICE_PLATFORMS: for item in items.copy(): - if "manage/pv_services/pvc_snapshot" in str(item.fspath) and ( + if "functional/pv/pvc_snapshot" in str(item.fspath) and ( ocs_version < version.VERSION_4_11 ): log.debug( diff --git a/tests/functional/storageclass/conftest.py b/tests/functional/storageclass/conftest.py index 337609365ab..24b78b589dd 100644 --- a/tests/functional/storageclass/conftest.py +++ b/tests/functional/storageclass/conftest.py @@ -17,7 +17,7 @@ def pytest_collection_modifyitems(items): """ if config.ENV_DATA["platform"].lower() in HCI_PC_OR_MS_PLATFORM: for item in items.copy(): - if "manage/storageclass" in str(item.fspath): + if "functional/storageclass" in str(item.fspath): log.debug( f"Test {item} is removed from the collected items" f" New storage-class creation is not supported on"