aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests
diff options
context:
space:
mode:
authorGeorge Paraskevopoulos <geopar@intracom-telecom.com>2017-03-16 17:04:16 +0200
committerBrady Johnson <brady.allen.johnson@ericsson.com>2017-03-17 08:41:14 +0000
commit8869d175363dfec69cc70fd8cb9bef56e8ebc115 (patch)
tree7231320b81b872a3bfcf785832f3e21221a39ca9 /sfc/tests
parent189642fff7428457d3992c365eab9a9f5c0bea90 (diff)
Implement delete.sh as a python module
We need to call delete.sh after each test is run. The script is implemented as a python module and called inside run_tests.py Change-Id: I23a794be522b4713a44cc1d56587e0aadc6f1210 Signed-off-by: George Paraskevopoulos <geopar@intracom-telecom.com>
Diffstat (limited to 'sfc/tests')
-rw-r--r--sfc/tests/functest/run_tests.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/sfc/tests/functest/run_tests.py b/sfc/tests/functest/run_tests.py
index 762e6b3d..f728cfdc 100644
--- a/sfc/tests/functest/run_tests.py
+++ b/sfc/tests/functest/run_tests.py
@@ -19,6 +19,7 @@ import functest.utils.functest_logger as ft_logger
import functest.utils.functest_utils as ft_utils
import functest.utils.openstack_utils as os_utils
import opnfv.utils.ovs_logger as ovs_log
+import sfc.lib.cleanup as sfc_cleanup
import sfc.lib.config as sfc_config
from opnfv.deployment.factory import Factory as DeploymentFactory
@@ -115,6 +116,7 @@ def main():
details = result.get("details")
push_results(
test_name_db, start_time, end_time, status, details)
+ sfc_cleanup.cleanup()
overall_end_time = time.time()
if args.report: