aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/vping
diff options
context:
space:
mode:
Diffstat (limited to 'functest/opnfv_tests/openstack/vping')
-rw-r--r--functest/opnfv_tests/openstack/vping/vping_base.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/functest/opnfv_tests/openstack/vping/vping_base.py b/functest/opnfv_tests/openstack/vping/vping_base.py
index 8eb41bee..8e71bf82 100644
--- a/functest/opnfv_tests/openstack/vping/vping_base.py
+++ b/functest/opnfv_tests/openstack/vping/vping_base.py
@@ -31,6 +31,7 @@ class VPingBase(TestCase):
internal network.
This class is responsible for creating the image, internal network.
"""
+
def __init__(self, **kwargs):
super(VPingBase, self).__init__(**kwargs)
@@ -155,7 +156,7 @@ class VPingBase(TestCase):
return TestCase.EX_RUN_ERROR
self.stop_time = time.time()
- self.result = 'PASS'
+ self.result = 100
return TestCase.EX_OK
def _cleanup(self):
@@ -193,6 +194,7 @@ class VPingBase(TestCase):
class VPingMain(object):
+
def __init__(self, vping_cls):
self.vping = vping_cls()