aboutsummaryrefslogtreecommitdiffstats
path: root/sfc/tests/functest/sfc_one_chain_two_service_functions.py
diff options
context:
space:
mode:
authorPanagiotis Karalis <pkaralis@intracom-telecom.com>2018-05-18 16:29:39 +0300
committerManuel Buil <mbuil@suse.com>2018-06-12 11:29:24 +0000
commit37d5bca7cc52709e89d434345560cfe1d90e2e52 (patch)
treed6c016789585451030c70cfc82c25384738d7394 /sfc/tests/functest/sfc_one_chain_two_service_functions.py
parent77dfb2e6eb0f3c872ec25cc6196d13b5ddfe0a3b (diff)
Rethink the clean up process
Using the '--nocleanup' parameter as part of command, the cleanup mechanism could be disable. Otherwise, the cleanup method is executed even if a exception has been raised. Change-Id: I9638369900f599793393feb5184c30b74f1b7c7e Signed-off-by: Panagiotis Karalis <pkaralis@intracom-telecom.com>
Diffstat (limited to 'sfc/tests/functest/sfc_one_chain_two_service_functions.py')
-rw-r--r--sfc/tests/functest/sfc_one_chain_two_service_functions.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/sfc/tests/functest/sfc_one_chain_two_service_functions.py b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
index eeb2ec8c..bd333377 100644
--- a/sfc/tests/functest/sfc_one_chain_two_service_functions.py
+++ b/sfc/tests/functest/sfc_one_chain_two_service_functions.py
@@ -76,6 +76,14 @@ class SfcOneChainTwoServiceTC(sfc_parent_function.SfcCommonTestCase):
'sfc.tests.functest.sfc_one_chain_two_service_functions':
return results.compile_summary(), self.creators
+ def get_creators(self):
+ """Return the creators info, specially in case the info is not
+ returned due to an exception.
+
+ :return: creators
+ """
+ return self.creators
+
if __name__ == '__main__':