aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-11-22 07:29:28 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-11-24 09:53:24 +0100
commit559f7a547a1905f2477d44110f30b11d94fff9ad (patch)
treee1f0f2b03dfd85829d4584e153770584ac7cdedb
parentfb917f9ce3ce3555b776db4678e2528ffc9dd6e8 (diff)
Fix an invalid class name (vGPU)
Change-Id: Ifff9eff1984846937920124ad0a7790e20593b25 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit d263576bd9961b4177080ff75844d0ed47dc886a)
-rw-r--r--functest/opnfv_tests/openstack/vgpu/vgpu.py4
-rw-r--r--setup.cfg2
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