diff options
author | panageo2 <panageo@intracom-telecom.com> | 2017-07-25 11:09:34 +0000 |
---|---|---|
committer | panageo2 <panageo@intracom-telecom.com> | 2017-07-25 11:22:32 +0000 |
commit | 9815cc6597daa6f50a38a04579036e3eeb5c79a2 (patch) | |
tree | 21ff71d6e4e43b5d447b68b5b3eced9d6dc42fe3 /sdnvpn/test/functest/testcase_9.py | |
parent | 3752ba88c0abdf35f3a4f5e20849ddd4dcf3277a (diff) |
Refactor imports and invocation of main function
In all testcases there are some inconcistencies of
import statements. Additionally the main function
of each testcase should be called through
sys.exit(main())
JIRA: SDNVPN-173
Change-Id: I6fdf0dc6598ca4789b6de6b50d1b8b85a8de923c
Signed-off-by: panageo2 <panageo@intracom-telecom.com>
Diffstat (limited to 'sdnvpn/test/functest/testcase_9.py')
-rw-r--r-- | sdnvpn/test/functest/testcase_9.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sdnvpn/test/functest/testcase_9.py b/sdnvpn/test/functest/testcase_9.py index 482ff48..053c02e 100644 --- a/sdnvpn/test/functest/testcase_9.py +++ b/sdnvpn/test/functest/testcase_9.py @@ -15,10 +15,10 @@ # - Verify that the OpenDaylight and gateway Quagga peer import argparse import logging +import sys -from sdnvpn.lib import utils as test_utils from sdnvpn.lib import config as sdnvpn_config - +from sdnvpn.lib import utils as test_utils from sdnvpn.lib.results import Results COMMON_CONFIG = sdnvpn_config.CommonConfig() @@ -75,4 +75,4 @@ def main(): if __name__ == '__main__': logging.basicConfig(level=logging.INFO) - main() + sys.exit(main()) |