diff options
author | 2019-11-30 10:44:46 +0100 | |
---|---|---|
committer | 2019-11-30 11:03:03 +0100 | |
commit | 740afc884b2af2f068945e7a9963d5e4b66a1a0e (patch) | |
tree | b44f46b085cf27f96cadfe2e41df59b3f2fd7f53 /xtesting/tests/unit/utils/test_decorators.py | |
parent | f5aceb5447deed25234c5354b9dd9601115d9378 (diff) |
Postprocess the TestAPI href returned
[1] returned http://localhost:8082
[1] https://build.opnfv.org/ci/job/airship-opnfv-functest-healthcheck-latest-connection_check-run/58/console
Change-Id: Ifc0e37a97442193a77762ecc2928b100e27028cd
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'xtesting/tests/unit/utils/test_decorators.py')
-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 c08a7ea3..25acd68c 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('re.sub') @mock.patch('requests.post') def test_http_shema(self, *args): os.environ['TEST_DB_URL'] = 'http://127.0.0.1' |