aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting')
-rw-r--r--xtesting/ci/tier_builder.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/xtesting/ci/tier_builder.py b/xtesting/ci/tier_builder.py
index 27afc7d1..747d2263 100644
--- a/xtesting/ci/tier_builder.py
+++ b/xtesting/ci/tier_builder.py
@@ -44,15 +44,15 @@ class TierBuilder():
for dic_tier in self.dic_tier_array:
tier = tier_handler.Tier(
name=dic_tier['name'], order=dic_tier['order'],
- description=dic_tier['description'])
+ description=dic_tier.get('description', ''))
for dic_testcase in dic_tier['testcases']:
testcase = tier_handler.TestCase(
name=dic_testcase['case_name'],
enabled=dic_testcase.get('enabled', True),
skipped=False,
- criteria=dic_testcase['criteria'],
- blocking=dic_testcase['blocking'],
- description=dic_testcase['description'],
+ criteria=dic_testcase.get('criteria', 100),
+ blocking=dic_testcase.get('blocking', True),
+ description=dic_testcase.get('description', ''),
project=dic_testcase['project_name'])
if not dic_testcase.get('dependencies'):
if testcase.is_enabled():