aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/vgpu/vgpu.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/openstack/vgpu/vgpu.py')
-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