aboutsummaryrefslogtreecommitdiffstats
path: root/functest/ci/tier_handler.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-01-22 07:50:45 +0000
committerLinda Wang <wangwulin@huawei.com>2017-02-23 02:00:51 +0000
commitfbd916ea2e0783c3beb517fd4c69f139eafe1688 (patch)
tree8a9c10ce050b575db0947d6e469f8b4e71adc8ef /functest/ci/tier_handler.py
parent03208634b25e61faebaa34e932e282a8f26c0ea4 (diff)
Use new-style classes which inherit from object
JIRA: FUNCTEST-707 Change-Id: Ieaa888375136eddbbe003a24b32bf09fd0f92923 Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/ci/tier_handler.py')
-rwxr-xr-xfunctest/ci/tier_handler.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/functest/ci/tier_handler.py b/functest/ci/tier_handler.py
index 1eadfba5..127986bf 100755
--- a/functest/ci/tier_handler.py
+++ b/functest/ci/tier_handler.py
@@ -28,7 +28,7 @@ def split_text(text, max_len):
return lines
-class Tier:
+class Tier(object):
def __init__(self, name, order, ci_loop, description=""):
self.tests_array = []
@@ -102,7 +102,7 @@ class Tier:
return out
-class TestCase:
+class TestCase(object):
def __init__(self, name, dependency, criteria, blocking, description=""):
self.name = name
@@ -160,7 +160,7 @@ class TestCase:
return out
-class Dependency:
+class Dependency(object):
def __init__(self, installer, scenario):
self.installer = installer