Code Review
/
sdnvpn.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
8d84c2c
)
Fix adapt path for import_module
05/41705/1
author
tomsou
<soth@intracom-telecom.com>
Tue, 12 Sep 2017 13:23:34 +0000
(13:23 +0000)
committer
tomsou
<soth@intracom-telecom.com>
Tue, 12 Sep 2017 13:23:34 +0000
(13:23 +0000)
Fix the path to include each test case when the suite runs
Change-Id: I3cdd55ed6af3e131c2f0b89ffc5bd74f95eeadbf
Signed-off-by: tomsou <soth@intracom-telecom.com>
sdnvpn/test/functest/run_sdnvpn_tests.py
patch
|
blob
|
history
diff --git
a/sdnvpn/test/functest/run_sdnvpn_tests.py
b/sdnvpn/test/functest/run_sdnvpn_tests.py
index
6fe7558
..
140256d
100644
(file)
--- a/
sdnvpn/test/functest/run_sdnvpn_tests.py
+++ b/
sdnvpn/test/functest/run_sdnvpn_tests.py
@@
-59,8
+59,7
@@
class SdnvpnFunctest(testcase.TestCase):
(test_name, test_descr))
self.__logger.info(title)
self.__logger.info("%s\n" % ("=" * len(title)))
- module = 'sdnvpn.test.functest.' + test_name
- t = importlib.import_module(module, package=None)
+ t = importlib.import_module(test_name, package=None)
try:
result = t.main()
except Exception as ex: