From 4862f742a08658459afee5e272122af5f2cdc9de Mon Sep 17 00:00:00 2001 From: Cédric Ollivier Date: Fri, 26 Jan 2018 17:41:02 +0100 Subject: Avoid duplicating get_parameter_from_yaml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It switches to this helper which was locally copied. Change-Id: Iaa30d83e8c0e2d4472f4ef8fe1da4943e424ebb3 Signed-off-by: Cédric Ollivier --- functest/tests/unit/vnf/router/test_cloudify_vrouter.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'functest/tests/unit/vnf/router/test_cloudify_vrouter.py') diff --git a/functest/tests/unit/vnf/router/test_cloudify_vrouter.py b/functest/tests/unit/vnf/router/test_cloudify_vrouter.py index 9711da72..db03d716 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, -- cgit 1.2.3-korg