diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-30 13:08:20 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2019-11-30 14:09:47 +0100 |
commit | a90db151f17971acf1caab5183c127ac134a91fa (patch) | |
tree | 4ff32af5f79933dedbb5e93ada633f9d3dac6d9f /xtesting/tests/unit/utils | |
parent | ef7528f9d97b451d08327140341a19959f152aab (diff) |
Mock os.path.join in push_to_db
Change-Id: I8d0c8f9ef4688454a6d2992ab1a20d871814e23f
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xtesting/tests/unit/utils/test_decorators.py b/xtesting/tests/unit/utils/test_decorators.py index 25acd68c..2810df15 100644 --- a/xtesting/tests/unit/utils/test_decorators.py +++ b/xtesting/tests/unit/utils/test_decorators.py @@ -85,6 +85,7 @@ class DecoratorsTesting(unittest.TestCase): test = self._get_testcase() self.assertEqual(test.run(), testcase.TestCase.EX_OK) + @mock.patch('os.path.join') @mock.patch('re.sub') @mock.patch('requests.post') def test_http_shema(self, *args): |