summaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/vgpu
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-12-06 20:32:11 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-12-07 07:47:53 +0100
commit67bb7ef951552289b4108f4fc6e2b77f87abf22b (patch)
tree76de871d93ff14e1c261dd2f01eac69fcac499a4 /functest/opnfv_tests/openstack/vgpu
parentfb9cd2f0f1721fb842a0fea0c960a820a51c0ed1 (diff)
Remove duplicated code in vnfs
It mainly leverages on functest_utils instead of duplicating. Change-Id: I97dc9215a835d3e7f1527b565132f667f09f2b7e Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com> (cherry picked from commit 555956f1d19800114a6f422de78816859aaa7bdc)
Diffstat (limited to 'functest/opnfv_tests/openstack/vgpu')
-rw-r--r--functest/opnfv_tests/openstack/vgpu/vgpu.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/functest/opnfv_tests/openstack/vgpu/vgpu.py b/functest/opnfv_tests/openstack/vgpu/vgpu.py
index 12f183e4e..c8180a45c 100644
--- a/functest/opnfv_tests/openstack/vgpu/vgpu.py
+++ b/functest/opnfv_tests/openstack/vgpu/vgpu.py
@@ -49,6 +49,5 @@ class VGPU(singlevm.SingleVm2):
'VGA compatible controller: Nvidia' in lspci_output):
self.__logger.info("The VM have a vGPU")
return 0
- else:
- self.__logger.error("The VM haven't any vGPU")
- return 1
+ self.__logger.error("The VM haven't any vGPU")
+ return 1