diff options
Diffstat (limited to 'testcases/testcase.py')
-rw-r--r-- | testcases/testcase.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/testcases/testcase.py b/testcases/testcase.py index c13754bc..7f4ad9ac 100644 --- a/testcases/testcase.py +++ b/testcases/testcase.py @@ -207,7 +207,7 @@ class TestCase(object): self._k8s = S.getValue('K8S') if self._k8s: if S.getValue('EXT_VSWITCH'): - self._evfctl = extvswitchfctl.ExtVswitchFlowCtl() + self._evfctl = extvswitchflctl.ExtVswitchFlowCtl() def run_initialize(self): @@ -398,7 +398,8 @@ class TestCase(object): # dump vswitch flows before they are affected by VNF termination if not self._vswitch_none: - self._vswitch_ctl.dump_vswitch_connections() + if not S.getValue('CLEAN_OUTPUT'): + self._vswitch_ctl.dump_vswitch_connections() # garbage collection for case that TestSteps modify existing deployment self.step_stop_vnfs() @@ -413,7 +414,11 @@ class TestCase(object): self._testcase_start_time)) logging.info("Testcase execution time: %s", self._testcase_run_time) # report test results + if S.getValue('CLEAN_OUTPUT'): + print('BEGIN OF THE RESULTS') self.run_report() + if S.getValue('CLEAN_OUTPUT'): + print('END OF THE RESULTS') def _append_results(self, results): """ |