From 559f7a547a1905f2477d44110f30b11d94fff9ad Mon Sep 17 00:00:00 2001 From: =?utf8?q?C=C3=A9dric=20Ollivier?= Date: Thu, 22 Nov 2018 07:29:28 +0100 Subject: [PATCH] Fix an invalid class name (vGPU) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change-Id: Ifff9eff1984846937920124ad0a7790e20593b25 Signed-off-by: Cédric Ollivier (cherry picked from commit d263576bd9961b4177080ff75844d0ed47dc886a) --- functest/opnfv_tests/openstack/vgpu/vgpu.py | 4 ++-- setup.cfg | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functest/opnfv_tests/openstack/vgpu/vgpu.py b/functest/opnfv_tests/openstack/vgpu/vgpu.py index a900eb203..12f183e4e 100644 --- a/functest/opnfv_tests/openstack/vgpu/vgpu.py +++ b/functest/opnfv_tests/openstack/vgpu/vgpu.py @@ -16,7 +16,7 @@ import logging from functest.core import singlevm -class vGPU(singlevm.SingleVm2): +class VGPU(singlevm.SingleVm2): """OpenStack vGPU Test Case.""" __logger = logging.getLogger(__name__) @@ -35,7 +35,7 @@ class vGPU(singlevm.SingleVm2): """Initialize vGPU testcase object.""" if "case_name" not in kwargs: kwargs["case_name"] = "vgpu" - super(vGPU, self).__init__(**kwargs) + super(VGPU, self).__init__(**kwargs) def execute(self): """ diff --git a/setup.cfg b/setup.cfg index 7fe5d85ee..383edc2e8 100644 --- a/setup.cfg +++ b/setup.cfg @@ -36,7 +36,7 @@ xtesting.testcase = vmtp = functest.opnfv_tests.openstack.vmtp.vmtp:Vmtp shaker = functest.opnfv_tests.openstack.shaker.shaker:Shaker snaps_smoke = functest.opnfv_tests.openstack.snaps.smoke:SnapsSmoke - vgpu = functest.opnfv_tests.openstack.vgpu.vgpu:vGPU + vgpu = functest.opnfv_tests.openstack.vgpu.vgpu:VGPU rally_full = functest.opnfv_tests.openstack.rally.rally:RallyFull cloudify = functest.core.cloudify:Cloudify cloudify_ims = functest.opnfv_tests.vnf.ims.cloudify_ims:CloudifyIms -- 2.16.6