diff options
author | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-25 11:43:01 +0200 |
---|---|---|
committer | jose.lausuch <jose.lausuch@ericsson.com> | 2016-07-25 12:10:07 +0200 |
commit | 9ca917e17b6d04bce32cc420954aada538a60ddb (patch) | |
tree | f5e49200e37186a5947edb19da2a34e00fcf5445 /ci/tier_builder.py | |
parent | 0f6c6171d514f6f7c3cb376bd40f20468a37bc41 (diff) |
Create a flag in the tests to indicate if they should be blocking or not
JIRA: FUNCTEST-380
Change-Id: I737d71a47ddac80bf0222a1f004af05f509c5971
Signed-off-by: jose.lausuch <jose.lausuch@ericsson.com>
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 b9357bc2d..e1c3e49e6 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) |