From 798d5884855e75ce14cc9fe6637c4733a0657b60 Mon Sep 17 00:00:00 2001 From: Stephen Finucane Date: Mon, 18 Jan 2016 10:05:21 +0000 Subject: [PATCH] test_cpu_pinning: Rename the test The existing name for this test is rather undescriptive. Correct this oversight. Change-Id: If38538ea555bfe23cee5ca68e2dac17fd31265be --- intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 1c28b41..3b634ac 100644 --- a/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py +++ b/intel_nfv_ci_tests/tests/scenario/test_cpu_pinning.py @@ -58,28 +58,28 @@ def get_core_mappings(): return core_mappings -class FlavorsAdminTestJSON(base.BaseV2ComputeAdminTest): +class CPUPolicyTest(base.BaseV2ComputeAdminTest): """ - Tests Flavors API Create and Delete that require admin privileges + Tests CPU policy support. """ @classmethod def skip_checks(cls): - super(FlavorsAdminTestJSON, cls).skip_checks() + super(CPUPolicyTest, cls).skip_checks() if not test.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(FlavorsAdminTestJSON, cls).setup_clients() + super(CPUPolicyTest, cls).setup_clients() cls.flavors_client = cls.os_adm.flavors_client cls.servers_client = cls.os_adm.servers_client @classmethod def resource_setup(cls): - super(FlavorsAdminTestJSON, cls).resource_setup() + super(CPUPolicyTest, cls).resource_setup() cls.flavor_name_prefix = 'test_hw_' cls.ram = 512