diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-25 11:42:07 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2016-07-25 11:42:07 +0000 |
commit | 0b94abfbb2173cf1a090e727a607045a33e75929 (patch) | |
tree | f78d92262b11469420fd4392d85d4221d3fd8ac6 /ci/tier_builder.py | |
parent | a6e8b23db1d3106d790a506c8e8277b1e638ddbd (diff) | |
parent | 9ca917e17b6d04bce32cc420954aada538a60ddb (diff) |
Merge "Create a flag in the tests to indicate if they should be blocking or not"
Diffstat (limited to 'ci/tier_builder.py')
-rw-r--r-- | ci/tier_builder.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ci/tier_builder.py b/ci/tier_builder.py index b9357bc2..e1c3e49e 100644 --- a/ci/tier_builder.py +++ b/ci/tier_builder.py @@ -7,12 +7,12 @@ # http://www.apache.org/licenses/LICENSE-2.0 # -import yaml - import tier_handler as th +import yaml class TierBuilder: + def __init__(self, ci_installer, ci_scenario, testcases_file): self.ci_installer = ci_installer self.ci_scenario = ci_scenario @@ -49,6 +49,7 @@ class TierBuilder: testcase = th.TestCase(name=dic_testcase['name'], dependency=dep, criteria=dic_testcase['criteria'], + blocking=dic_testcase['blocking'], description=dic_testcase['description']) if testcase.is_compatible(self.ci_installer, self.ci_scenario): tier.add_test(testcase) |