aboutsummaryrefslogtreecommitdiffstats
path: root/testcases/vPing/CI/libraries/vPing.py
diff options
context:
space:
mode:
authorjose.lausuch <jose.lausuch@ericsson.com>2015-05-22 18:19:08 +0200
committerjose.lausuch <jose.lausuch@ericsson.com>2015-05-22 18:20:21 +0200
commite7f1ced2426b881562b4d5ca51189c751c7f485e (patch)
tree36340cc2d3745c5257e0d38b53ff05f2ab747562 /testcases/vPing/CI/libraries/vPing.py
parent160e2a2de2b1684895292526d1e43f85599c0c90 (diff)
vPing.py: bugfix: EXIT_CODE not defined
JIRA: FUNCTEST-3 Change-Id: I710b7dc8569cef091e8c5db89f30a52ca074649a Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
Diffstat (limited to 'testcases/vPing/CI/libraries/vPing.py')
-rw-r--r--testcases/vPing/CI/libraries/vPing.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/testcases/vPing/CI/libraries/vPing.py b/testcases/vPing/CI/libraries/vPing.py
index 1eb219dfb..2baf448d2 100644
--- a/testcases/vPing/CI/libraries/vPing.py
+++ b/testcases/vPing/CI/libraries/vPing.py
@@ -18,7 +18,6 @@ import pprint
import novaclient.v2.client as novaclient
pp = pprint.PrettyPrinter(indent=4)
-EXIT_CODE = -1
HOME = os.environ['HOME']+"/"
with open(HOME+'.functest/functest.yaml') as f:
functest_yaml = yaml.safe_load(f)
@@ -120,7 +119,7 @@ def get_status(nova,vm):
def main():
creds = get_credentials("nova")
nova = novaclient.Client(**creds)
-
+ EXIT_CODE = -1
image = None
network = None
flavor = None