aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests/unit/ci/test_tier_handler.py
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2023-09-29 14:12:18 +0200
committerCédric Ollivier <cedric.ollivier@orange.com>2023-09-29 14:36:57 +0200
commitf430ee4d9ef63f104dde63710fce7f8fa3c61591 (patch)
tree9e9978c12b49e5717a8ea279197fa200100b6d7b /xtesting/tests/unit/ci/test_tier_handler.py
parent781fc313c1c59018edb892ff0423963191781592 (diff)
Upgrade pylint and fix latest warnings
Change-Id: I8b9e4b663a12ac9be18fded2d7b4e4b38428fa9f Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/tests/unit/ci/test_tier_handler.py')
-rw-r--r--xtesting/tests/unit/ci/test_tier_handler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/xtesting/tests/unit/ci/test_tier_handler.py b/xtesting/tests/unit/ci/test_tier_handler.py
index 668f33cc..95dcfdc6 100644
--- a/xtesting/tests/unit/ci/test_tier_handler.py
+++ b/xtesting/tests/unit/ci/test_tier_handler.py
@@ -26,8 +26,8 @@ class TierHandlerTesting(unittest.TestCase):
self.testcase = tier_handler.TestCase(
'test_name', 'true', False, 'test_criteria',
True, description='test_desc', project='project_name')
- self.testcase.str = self.testcase.__str__()
- self.tier.str = self.tier.__str__()
+ self.testcase.str = str(self.testcase)
+ self.tier.str = str(self.tier)
def test_add_test(self):
self.tier.add_test(self.test)