diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2018-02-26 16:50:45 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-02-26 16:50:45 +0000 |
commit | 53cd7f8176c996014decb7311d9f546f6b8f2497 (patch) | |
tree | d3cb7a4537b032c010b758130a4e11c66fd097d0 /functest/opnfv_tests/sdn | |
parent | 00182139afbfa67541340d46e49d948d1f69840c (diff) | |
parent | 70886a190335f02f1c7ed1d9c50823f978b291b1 (diff) |
Merge "Raise exceptions when SDN_CONTROLLER_IP is None"
Diffstat (limited to 'functest/opnfv_tests/sdn')
-rw-r--r-- | functest/opnfv_tests/sdn/odl/odl.py | 1 |
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: " |