aboutsummaryrefslogtreecommitdiffstats
path: root/functest/tests/unit/vnf
diff options
context:
space:
mode:
authorCédric Ollivier <cedric.ollivier@orange.com>2018-01-26 17:41:02 +0100
committerCédric Ollivier <cedric.ollivier@orange.com>2018-01-26 18:14:20 +0100
commit4862f742a08658459afee5e272122af5f2cdc9de (patch)
tree07b73dbb0c3c35e7fb4a339ba070e9c7117d8d7f /functest/tests/unit/vnf
parent01efa1e4229157b46d352bce202ed4192992dd3f (diff)
Avoid duplicating get_parameter_from_yaml
It switches to this helper which was locally copied. Change-Id: Iaa30d83e8c0e2d4472f4ef8fe1da4943e424ebb3 Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'functest/tests/unit/vnf')
-rw-r--r--functest/tests/unit/vnf/router/test_cloudify_vrouter.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/functest/tests/unit/vnf/router/test_cloudify_vrouter.py b/functest/tests/unit/vnf/router/test_cloudify_vrouter.py
index 9711da72f..db03d716c 100644
--- a/functest/tests/unit/vnf/router/test_cloudify_vrouter.py
+++ b/functest/tests/unit/vnf/router/test_cloudify_vrouter.py
@@ -49,8 +49,7 @@ class CloudifyVrouterTesting(unittest.TestCase):
'cloudify_vrouter.vrouter_base.Utilvnf'), \
mock.patch('os.makedirs'), \
mock.patch(
- 'functest.opnfv_tests.vnf.router.cloudify_vrouter.'
- 'get_config',
+ 'functest.utils.functest_utils.get_parameter_from_yaml',
return_value={
'tenant_images': 'foo',
'orchestrator': self.orchestrator,