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"