aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2017-03-16 11:10:12 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-03-16 11:10:12 +0000
commitb8403226b35dbd884906276e9b8fc5c21226b387 (patch)
tree547d4107ce489c836428498b9396fe7fbdc807d9 /functest/ci
parent7cc5aa125cf71cdc531e0abba4be83d9f5a470c1 (diff)
parentcc72b61456aeaa9752527d55541df3791ff1fbbf (diff)
Merge "Added Unit Tests for ci/generate_report with argument refactoring for main and init functions in generate_reports"
Diffstat (limited to 'functest/ci')
-rwxr-xr-xfunctest/ci/generate_report.py4
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: