aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/ci/test_tier_handler.py
diff options
context:
space:
mode:
authorCedric Ollivier <cedric.ollivier@orange.com>2017-12-18 07:34:44 +0000
committerGerrit Code Review <gerrit@opnfv.org>2017-12-18 07:34:44 +0000
commit62d12c838b7c008462b7c45731290c385ed98bff (patch)
tree52e628d3d68cca0acb07b6a57b2ee9168c151a8c /functest/tests/unit/ci/test_tier_handler.py
parentfc0d8c601ce627d5f7b8c5e3eef73bd01c6db7d4 (diff)
parent3f29dd2f11e3bb847fce5ac56060758d6076e8e7 (diff)
Merge "Improve the pylint score of functest-core"
Diffstat (limited to 'functest/tests/unit/ci/test_tier_handler.py')
-rw-r--r--functest/tests/unit/ci/test_tier_handler.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/functest/tests/unit/ci/test_tier_handler.py b/functest/tests/unit/ci/test_tier_handler.py
index 1909ac22..871220db 100644
--- a/functest/tests/unit/ci/test_tier_handler.py
+++ b/functest/tests/unit/ci/test_tier_handler.py
@@ -5,6 +5,8 @@
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
+# pylint: disable=missing-docstring
+
import logging
import unittest
@@ -89,11 +91,11 @@ class TierHandlerTesting(unittest.TestCase):
self.assertEqual(self.tier.get_ci_loop(),
'test_ci_loop')
- def test_testcase_is_none_present_item(self):
+ def test_testcase_is_none_in_item(self):
self.assertEqual(tier_handler.TestCase.is_none("item"),
False)
- def test_testcase_is_none_missing_item(self):
+ def test_testcase_is_none_no_item(self):
self.assertEqual(tier_handler.TestCase.is_none(None),
True)
@@ -102,7 +104,7 @@ class TierHandlerTesting(unittest.TestCase):
'test_scenario'),
True)
- def test_testcase_is_compatible_missing_installer_scenario(self):
+ def test_testcase_is_compatible_2(self):
self.assertEqual(self.testcase.is_compatible('missing_installer',
'test_scenario'),
False)