File tree Expand file tree Collapse file tree
virt/node/migration_and_maintenance Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6969from packaging .version import Version , parse
7070from pytest_testconfig import config as py_config
7171from timeout_sampler import TimeoutSampler
72- from tests .virt .constants import MachineTypesNames
7372
7473import utilities .hco
7574from tests .utils import download_and_extract_tar , update_cluster_cpu_model
75+ from tests .virt .constants import MachineTypesNames
7676from utilities .architecture import is_s390x , is_x86_64
7777from utilities .bitwarden import get_cnv_tests_secret_by_name
7878from utilities .constants import (
Original file line number Diff line number Diff line change @@ -60,9 +60,7 @@ class TestMigrationVMWithMemoryLoad:
6060 "memory_guest" : "4Gi" ,
6161 "cpu_cores" : 1 ,
6262 },
63- marks = [
64- pytest .mark .polarion ("CNV-4661" )
65- ],
63+ marks = [pytest .mark .polarion ("CNV-4661" )],
6664 ),
6765 ],
6866 indirect = True ,
Original file line number Diff line number Diff line change @@ -35,9 +35,11 @@ def get_cluster_architecture() -> str:
3535
3636def is_s390x () -> bool :
3737 from utilities .constants import S390X
38+
3839 return get_cluster_architecture () == S390X
3940
4041
4142def is_x86_64 () -> bool :
4243 from utilities .constants import X86_64
44+
4345 return get_cluster_architecture () == X86_64
You can’t perform that action at this time.
0 commit comments