Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Raise exceptions when SDN_CONTROLLER_IP is None
[functest.git]
/
functest
/
opnfv_tests
/
sdn
/
odl
/
odl.py
diff --git
a/functest/opnfv_tests/sdn/odl/odl.py
b/functest/opnfv_tests/sdn/odl/odl.py
index
7283be5
..
f5e07ad
100644
(file)
--- 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: "