diff options
author | ashishk1994 <ashishk.iiit@gmail.com> | 2017-02-21 22:51:30 +0530 |
---|---|---|
committer | Ashish Kumar <ashishk.iiit@gmail.com> | 2017-03-15 07:26:57 +0000 |
commit | cc72b61456aeaa9752527d55541df3791ff1fbbf (patch) | |
tree | 20060fd418d1efa28c9bf7f52beb57c99f048c31 /functest/ci/generate_report.py | |
parent | 65b26f2e9db7e0cf336c147d46d91cb1c828a67b (diff) |
Added Unit Tests for ci/generate_report with
argument refactoring for main and init
functions in generate_reports
Change-Id: I291d04a9c0ed381f4b92e989270c0b9a37c15264
Signed-off-by: ashishk1994 <ashishk.iiit@gmail.com>
Diffstat (limited to 'functest/ci/generate_report.py')
-rwxr-xr-x | functest/ci/generate_report.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/functest/ci/generate_report.py b/functest/ci/generate_report.py index 89d8fc62..3872a07e 100755 --- a/functest/ci/generate_report.py +++ b/functest/ci/generate_report.py @@ -26,7 +26,7 @@ COL_5_LEN = 75 logger = ft_logger.Logger("generate_report").getLogger() -def init(tiers_to_run): +def init(tiers_to_run=[]): test_cases_arr = [] for tier in tiers_to_run: for test in tier.get_tests(): @@ -91,7 +91,7 @@ def print_separator(char="=", delimiter="+"): return str -def main(args): +def main(args=[]): executed_test_cases = args if CONST.IS_CI_RUN: |