From: Cédric Ollivier Date: Thu, 22 Nov 2018 06:29:28 +0000 (+0100) Subject: Fix an invalid class name (vGPU) X-Git-Tag: opnfv-8.1.0~107 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F47%2F65347%2F3;p=functest.git Fix an invalid class name (vGPU) Change-Id: Ifff9eff1984846937920124ad0a7790e20593b25 Signed-off-by: Cédric Ollivier (cherry picked from commit d263576bd9961b4177080ff75844d0ed47dc886a) --- 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