aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests/unit
diff options
context:
space:
mode:
Diffstat (limited to 'xtesting/tests/unit')
-rw-r--r--xtesting/tests/unit/ci/test_tier_builder.py4
-rw-r--r--xtesting/tests/unit/ci/test_tier_handler.py9
2 files changed, 2 insertions, 11 deletions
diff --git a/xtesting/tests/unit/ci/test_tier_builder.py b/xtesting/tests/unit/ci/test_tier_builder.py
index 70a7951a..70b5aeae 100644
--- a/xtesting/tests/unit/ci/test_tier_builder.py
+++ b/xtesting/tests/unit/ci/test_tier_builder.py
@@ -30,8 +30,7 @@ class TierBuilderTesting(unittest.TestCase):
'blocking': 'test_blocking', 'description': 'test_desc',
'project_name': 'project_name'}
self.dic_tier = {
- 'name': 'test_tier', 'order': 'test_order',
- 'description': 'test_desc',
+ 'name': 'test_tier', 'description': 'test_desc',
'testcases': [self.testcase, self.testcase_disabled]}
self.mock_yaml = mock.Mock()
attrs = {'get.return_value': [self.dic_tier]}
@@ -94,7 +93,6 @@ class TierBuilderTesting(unittest.TestCase):
def test_str(self):
message = str(self.tierbuilder)
self.assertTrue('test_tier' in message)
- self.assertTrue('test_order' in message)
self.assertTrue('test_desc' in message)
self.assertTrue('test_name' in message)
diff --git a/xtesting/tests/unit/ci/test_tier_handler.py b/xtesting/tests/unit/ci/test_tier_handler.py
index 2c48ac98..5ee62c4f 100644
--- a/xtesting/tests/unit/ci/test_tier_handler.py
+++ b/xtesting/tests/unit/ci/test_tier_handler.py
@@ -22,8 +22,7 @@ class TierHandlerTesting(unittest.TestCase):
self.test = mock.Mock()
attrs = {'get_name.return_value': 'test_name'}
self.test.configure_mock(**attrs)
- self.tier = tier_handler.Tier(
- 'test_tier', 'test_order', 'test_desc')
+ self.tier = tier_handler.Tier('test_tier', 'test_desc')
self.testcase = tier_handler.TestCase(
'test_name', 'true', False, 'test_criteria',
True, description='test_desc', project='project_name')
@@ -67,9 +66,6 @@ class TierHandlerTesting(unittest.TestCase):
def test_get_name(self):
self.assertEqual(self.tier.get_name(), 'test_tier')
- def test_get_order(self):
- self.assertEqual(self.tier.get_order(), 'test_order')
-
def test_testcase_get_name(self):
self.assertEqual(self.tier.get_name(), 'test_tier')
@@ -85,9 +81,6 @@ class TierHandlerTesting(unittest.TestCase):
def test_testcase_get_project(self):
self.assertEqual(self.testcase.get_project(), 'project_name')
- def test_testcase_get_order(self):
- self.assertEqual(self.tier.get_order(), 'test_order')
-
if __name__ == "__main__":
logging.disable(logging.CRITICAL)