Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix directory path in conftest #9247

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading