aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/sdn/odl/odl.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2018-02-26 16:50:45 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-02-26 16:50:45 +0000
commit53cd7f8176c996014decb7311d9f546f6b8f2497 (patch)
treed3cb7a4537b032c010b758130a4e11c66fd097d0 /functest/opnfv_tests/sdn/odl/odl.py
parent00182139afbfa67541340d46e49d948d1f69840c (diff)
parent70886a190335f02f1c7ed1d9c50823f978b291b1 (diff)
Merge "Raise exceptions when SDN_CONTROLLER_IP is None"
Diffstat (limited to 'functest/opnfv_tests/sdn/odl/odl.py')
-rw-r--r--functest/opnfv_tests/sdn/odl/odl.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/functest/opnfv_tests/sdn/odl/odl.py b/functest/opnfv_tests/sdn/odl/odl.py
index 7283be57..f5e07ad3 100644
--- a/functest/opnfv_tests/sdn/odl/odl.py
+++ b/functest/opnfv_tests/sdn/odl/odl.py
@@ -190,6 +190,7 @@ class ODLTests(robotframework.RobotFramework):
kwargs['odlrestconfport'] = '8087'
else:
kwargs['odlip'] = env.get('SDN_CONTROLLER_IP')
+ assert kwargs['odlip']
except KeyError as ex:
self.__logger.error("Cannot run ODL testcases. "
"Please check env var: "