Fix an invalid class name (vGPU) 47/65347/3
authorCédric Ollivier <cedric.ollivier@orange.com>
Thu, 22 Nov 2018 06:29:28 +0000 (07:29 +0100)
committerCédric Ollivier <cedric.ollivier@orange.com>
Sat, 24 Nov 2018 08:53:24 +0000 (09:53 +0100)
Change-Id: Ifff9eff1984846937920124ad0a7790e20593b25
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit d263576bd9961b4177080ff75844d0ed47dc886a)

functest/opnfv_tests/openstack/vgpu/vgpu.py
setup.cfg

index a900eb2..12f183e 100644 (file)
@@ -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):
         """
index 7fe5d85..383edc2 100644 (file)
--- 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