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 14:56:05 +0000
commit2346ca714503d69162fc896f1f703b8d6aa7a46c (patch)
treece6275ec4036f60cdf47611db302d6507194abd3 /sfc/tests
parent9490e94c836247e020b1b947a4c5e62bcc8aeb3f (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> (cherry picked from commit 8869d175363dfec69cc70fd8cb9bef56e8ebc115)
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 f2a288a2..a066af51 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
@@ -125,6 +126,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: