Skip to content

Commit ef8305e

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 81f5beb commit ef8305e

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@
6969
from packaging.version import Version, parse
7070
from pytest_testconfig import config as py_config
7171
from timeout_sampler import TimeoutSampler
72-
from tests.virt.constants import MachineTypesNames
7372

7473
import utilities.hco
7574
from tests.utils import download_and_extract_tar, update_cluster_cpu_model
75+
from tests.virt.constants import MachineTypesNames
7676
from utilities.architecture import is_s390x, is_x86_64
7777
from utilities.bitwarden import get_cnv_tests_secret_by_name
7878
from utilities.constants import (

tests/virt/node/migration_and_maintenance/test_vm_memory_load_with_migration.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff 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,

utilities/architecture.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,11 @@ def get_cluster_architecture() -> str:
3535

3636
def is_s390x() -> bool:
3737
from utilities.constants import S390X
38+
3839
return get_cluster_architecture() == S390X
3940

4041

4142
def is_x86_64() -> bool:
4243
from utilities.constants import X86_64
44+
4345
return get_cluster_architecture() == X86_64

0 commit comments

Comments
 (0)