Code Review
/
functest.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Merge "Define create_snapshot() and clean() in TestCase"
[functest.git]
/
functest
/
ci
/
tier_handler.py
diff --git
a/functest/ci/tier_handler.py
b/functest/ci/tier_handler.py
index
fe7372a
..
4f2f14e
100644
(file)
--- a/
functest/ci/tier_handler.py
+++ b/
functest/ci/tier_handler.py
@@
-105,16
+105,16
@@
class Tier(object):
class TestCase(object):
def __init__(self, name,
class TestCase(object):
def __init__(self, name,
+ enabled,
dependency,
criteria,
blocking,
dependency,
criteria,
blocking,
- clean_flag,
description=""):
self.name = name
description=""):
self.name = name
+ self.enabled = enabled
self.dependency = dependency
self.criteria = criteria
self.blocking = blocking
self.dependency = dependency
self.criteria = criteria
self.blocking = blocking
- self.clean_flag = clean_flag
self.description = description
@staticmethod
self.description = description
@staticmethod
@@
-138,15
+138,15
@@
class TestCase(object):
def get_name(self):
return self.name
def get_name(self):
return self.name
+ def is_enabled(self):
+ return self.enabled
+
def get_criteria(self):
return self.criteria
def is_blocking(self):
return self.blocking
def get_criteria(self):
return self.criteria
def is_blocking(self):
return self.blocking
- def needs_clean(self):
- return self.clean_flag
-
def __str__(self):
lines = split_text(self.description, LINE_LENGTH - 6)
def __str__(self):
lines = split_text(self.description, LINE_LENGTH - 6)