aboutsummaryrefslogtreecommitdiffstats
path: root/xtesting/tests/unit/core
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/core
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/core')
-rw-r--r--xtesting/tests/unit/core/test_testcase.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/xtesting/tests/unit/core/test_testcase.py b/xtesting/tests/unit/core/test_testcase.py
index dbefd974..f7d1b940 100644
--- a/xtesting/tests/unit/core/test_testcase.py
+++ b/xtesting/tests/unit/core/test_testcase.py
@@ -180,7 +180,8 @@ class TestCaseTesting(unittest.TestCase):
args[0].assert_called_once_with(
os.environ['TEST_DB_URL'],
data=json.dumps(payload, sort_keys=True),
- headers=self._headers)
+ headers=self._headers,
+ timeout=10)
def test_pushdb_daily_job(self):
self._test_pushdb_version(version="master")
@@ -203,7 +204,8 @@ class TestCaseTesting(unittest.TestCase):
mock_function.assert_called_once_with(
os.environ['TEST_DB_URL'],
data=json.dumps(self._get_data(), sort_keys=True),
- headers=self._headers)
+ headers=self._headers,
+ timeout=10)
def test_check_requirements(self):
self.test.check_requirements()