Skip to content

Commit e075703

Browse files
committed
prevent No Such Attribute like situations
1 parent 1a27270 commit e075703

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/integration/smoke/test_kvm_lifemigration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ def setUpClass(cls):
7676
0].__dict__
7777
cls.management_ip = cls.config.__dict__["mgtSvr"][0].__dict__["mgtSvrIp"]
7878

79+
cls.hypervisorNotSupported = False
7980
if cls.hypervisor.lower() not in ["kvm"]:
8081
cls.hypervisorNotSupported = True
8182

test/integration/smoke/test_secured_vm_migration.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,7 @@ def setUpClass(cls):
6969
cls.hypervisor = testClient.getHypervisorInfo()
7070
cls._cleanup = []
7171

72+
cls.hypervisorNotSupported = False
7273
if cls.hypervisor.lower() not in ["kvm"]:
7374
cls.hypervisorNotSupported = True
7475

0 commit comments

Comments
 (0)