aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/tier_builder.py
diff options
context:
space:
mode:
Diffstat (limited to 'functest/ci/tier_builder.py')
-rw-r--r--functest/ci/tier_builder.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/functest/ci/tier_builder.py b/functest/ci/tier_builder.py
index 44b27258..e1939c37 100644
--- a/functest/ci/tier_builder.py
+++ b/functest/ci/tier_builder.py
@@ -72,6 +72,12 @@ class TierBuilder(object):
return self.tier_objects[i]
return None
+ def get_tier_name(self, test_name):
+ for i in range(0, len(self.tier_objects)):
+ if self.tier_objects[i].is_test(test_name):
+ return self.tier_objects[i].name
+ return None
+
def get_test(self, test_name):
for i in range(0, len(self.tier_objects)):
if self.tier_objects[i].is_test(test_name):