Skip to content

Commit

Permalink
Merge pull request #9247 from vavuthu/fix_directory_paths_conftest
Browse files Browse the repository at this point in the history
Fix directory path in conftest
  • Loading branch information
vavuthu authored Jan 31, 2024
2 parents f835e07 + 172dbe8 commit 894c50e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/functional/pv/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
2 changes: 1 addition & 1 deletion tests/functional/storageclass/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 894c50e

Please sign in to comment.