path: root/sdnvpn/test/functest/
diff options
authorpanageo2 <>2017-07-25 11:09:34 +0000
committerpanageo2 <>2017-07-25 11:22:32 +0000
commit9815cc6597daa6f50a38a04579036e3eeb5c79a2 (patch)
tree21ff71d6e4e43b5d447b68b5b3eced9d6dc42fe3 /sdnvpn/test/functest/
parent3752ba88c0abdf35f3a4f5e20849ddd4dcf3277a (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 <>
Diffstat (limited to 'sdnvpn/test/functest/')
1 files changed, 3 insertions, 3 deletions
diff --git a/sdnvpn/test/functest/ b/sdnvpn/test/functest/
index 482ff48..053c02e 100644
--- a/sdnvpn/test/functest/
+++ b/sdnvpn/test/functest/
@@ -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__':
- main()
+ sys.exit(main())