diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-09-29 14:12:18 +0200 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2023-09-29 14:36:57 +0200 |
commit | f430ee4d9ef63f104dde63710fce7f8fa3c61591 (patch) | |
tree | 9e9978c12b49e5717a8ea279197fa200100b6d7b /xtesting/tests/unit/utils | |
parent | 781fc313c1c59018edb892ff0423963191781592 (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/utils')
-rw-r--r-- | xtesting/tests/unit/utils/test_decorators.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xtesting/tests/unit/utils/test_decorators.py b/xtesting/tests/unit/utils/test_decorators.py index ae6ffa4b..f5408868 100644 --- a/xtesting/tests/unit/utils/test_decorators.py +++ b/xtesting/tests/unit/utils/test_decorators.py @@ -94,7 +94,8 @@ class DecoratorsTesting(unittest.TestCase): self.assertEqual(test.push_to_db(), testcase.TestCase.EX_OK) args[0].assert_called_once_with( 'http://127.0.0.1', data=self._get_json(), - headers={'Content-Type': 'application/json'}) + headers={'Content-Type': 'application/json'}, + timeout=10) def test_wrong_shema(self): os.environ['TEST_DB_URL'] = '/dev/null' |