diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-10 13:04:11 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-08-12 12:26:23 +0200 |
commit | 2ad07442cebfaca7d5d70191f9ffca1cabdf4370 (patch) | |
tree | b31f5dc76f026b3a567361b3c6cb5c392acf59fb /xtesting/ci/tier_handler.py | |
parent | f42e4276414e492afde19deb368c1e77d4dffbeb (diff) |
Skip the selected testcase too0.35
It completes "Allow calling a skip test" [1]
[1] https://gerrit.opnfv.org/gerrit/60655
Change-Id: I02499aed56e6b23563165ea1f17b476e12408823
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
(cherry picked from commit a9491ef0948f8fe3eb3772b6b6ae44d86bde7e9b)
Diffstat (limited to 'xtesting/ci/tier_handler.py')
-rw-r--r-- | xtesting/ci/tier_handler.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/xtesting/ci/tier_handler.py b/xtesting/ci/tier_handler.py index 51f031c0..4e413f51 100644 --- a/xtesting/ci/tier_handler.py +++ b/xtesting/ci/tier_handler.py @@ -100,14 +100,15 @@ class Tier(object): return msg.get_string() -class TestCase(object): +class TestCase(object): # pylint: disable=too-many-instance-attributes - def __init__(self, name, enabled, dependency, criteria, blocking, + def __init__(self, name, enabled, skipped, dependency, criteria, blocking, description="", project=""): # pylint: disable=too-many-arguments self.name = name self.enabled = enabled self.dependency = dependency + self.skipped = skipped self.criteria = criteria self.blocking = blocking self.description = description @@ -129,6 +130,9 @@ class TestCase(object): def is_enabled(self): return self.enabled + def is_skipped(self): + return self.skipped + def get_criteria(self): return self.criteria |