diff --git a/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py b/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py index 8eff9da..a3cea93 100644 --- a/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py +++ b/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py @@ -19,9 +19,9 @@ import testtools import xml.etree.ElementTree as ET from tempest.api.compute import base +from tempest.common import utils from tempest.common import waiters from tempest import config -from tempest import test CONF = config.CONF @@ -85,15 +85,15 @@ class CPUPolicyTest(base.BaseV2ComputeAdminTest): @classmethod def skip_checks(cls): super(CPUPolicyTest, cls).skip_checks() - if not test.is_extension_enabled('OS-FLV-EXT-DATA', 'compute'): + if not utils.is_extension_enabled('OS-FLV-EXT-DATA', 'compute'): msg = "OS-FLV-EXT-DATA extension not enabled." raise cls.skipException(msg) @classmethod def setup_clients(cls): super(CPUPolicyTest, cls).setup_clients() - cls.flavors_client = cls.os_adm.flavors_client - cls.servers_client = cls.os_adm.servers_client + cls.flavors_client = cls.os_admin.flavors_client + cls.servers_client = cls.os_admin.servers_client @classmethod def resource_setup(cls): diff --git a/intel_nfv_ci_tests/tests/scenario/test_numa_topology.py b/intel_nfv_ci_tests/tests/scenario/test_numa_topology.py index 84d1b14..fd56806 100644 --- a/intel_nfv_ci_tests/tests/scenario/test_numa_topology.py +++ b/intel_nfv_ci_tests/tests/scenario/test_numa_topology.py @@ -81,7 +81,7 @@ class NUMAServersTest(base.BaseV2ComputeAdminTest): @classmethod def setup_clients(cls): super(NUMAServersTest, cls).setup_clients() - cls.flavors_client = cls.os_adm.flavors_client + cls.flavors_client = cls.os_admin.flavors_client cls.client = cls.servers_client @classmethod