Skip to content
Open
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

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ def remove_kubevirt_vm(unprivileged_client, namespace):
yield vm


@pytest.mark.polarion("CNV-3738")
@pytest.mark.s390x
def test_validate_default_uninstall_strategy(kubevirt_resource):
strategy = kubevirt_resource.instance.spec.uninstallStrategy
assert strategy == "BlockUninstallIfWorkloadsExist", (
f"Default uninstall strategy is incorrect.Expected 'BlockUninstallIfWorkloadsExist', found '{strategy}'"
)


@pytest.mark.polarion("CNV-3718")
@pytest.mark.destructive
def test_block_removal(kubevirt_resource, remove_kubevirt_vm):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,6 @@
MANAGED_BY_LABEL_KEY = f"{Resource.ApiGroup.APP_KUBERNETES_IO}/managed-by"
COMPONENT_LABEL_KEY = f"{Resource.ApiGroup.APP_KUBERNETES_IO}/component"
PART_OF_LABEL_KEY = f"{Resource.ApiGroup.APP_KUBERNETES_IO}/part-of"
ALL_LABEL_KEYS = [
MANAGED_BY_LABEL_KEY,
VERSION_LABEL_KEY,
COMPONENT_LABEL_KEY,
PART_OF_LABEL_KEY,
]
# Daemonset expected labels
EXPECTED_VIRT_DAEMONSETS_LABELS_DICT_MAP = {
BRIDGE_MARKER: {
Expand Down

This file was deleted.

15 changes: 0 additions & 15 deletions tests/install_upgrade_operators/strict_reconciliation/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,21 +130,6 @@ def hco_with_non_default_feature_gates(
yield


@pytest.fixture()
def cr_func_map(
hco_spec,
kubevirt_hyperconverged_spec_scope_function,
cdi_spec,
network_addons_config_scope_session,
):
yield {
"hco": hco_spec,
"kubevirt": kubevirt_hyperconverged_spec_scope_function,
"cdi": cdi_spec,
"cnao": network_addons_config_scope_session.instance.to_dict(),
}


@pytest.fixture()
def hco_status_related_objects_scope_function(hyperconverged_resource_scope_function):
"""
Expand Down
Loading