From 0d5cb0bddb9388d155176396a1dc92b7cfaa6205 Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Sat, 5 Sep 2020 11:35:05 +0200 Subject: Remove order in testcases.yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It's not used and asked for useless configuration data. Change-Id: Ie1713873aa880bed74bc3c9c4c08da5b30ea3bbb Signed-off-by: Cédric Ollivier (cherry picked from commit 2480a8ed48d232b6395f992fc46d388ba2820872) --- xtesting/tests/unit/ci/test_tier_handler.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'xtesting/tests/unit/ci/test_tier_handler.py') 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) -- cgit 1.2.3-korg