diff options
author | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-02-26 19:40:43 +0100 |
---|---|---|
committer | Cédric Ollivier <cedric.ollivier@orange.com> | 2018-02-26 20:43:15 +0100 |
commit | fe077e8bbd41907db20765174a2bff388a1321a3 (patch) | |
tree | 63c7902d57c5746ccabf14f61d432165f4cec8b9 /sdnvpn/test/functest/testcase_3.py | |
parent | 016b6d88f287e5d709ef1e796b9d71a545d6c809 (diff) |
Stop relying on internal Functest utils
It switches from functest_utils.get_functest_config() to
config.CONF(). download_url is now hosted in sfc as it's unused by
Functest.
The next functions will be considered as part of Functest framework
(then it must be well covered and documented):
- ft_utils.execute_command_raise()
- ft_utils.execute_command()
- ft_utils.get_parameter_from_yaml()
Change-Id: I076c6ced430df8387de8eaeac6f3a94d93201b19
Signed-off-by: Cédric Ollivier <cedric.ollivier@orange.com>
Diffstat (limited to 'sdnvpn/test/functest/testcase_3.py')
-rw-r--r-- | sdnvpn/test/functest/testcase_3.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sdnvpn/test/functest/testcase_3.py b/sdnvpn/test/functest/testcase_3.py index 6e7cbae..54ae122 100644 --- a/sdnvpn/test/functest/testcase_3.py +++ b/sdnvpn/test/functest/testcase_3.py @@ -16,7 +16,6 @@ import logging import os import sys -from functest.utils import functest_utils as ft_utils from sdnvpn.lib import quagga from sdnvpn.lib import openstack_utils as os_utils from sdnvpn.lib import utils as test_utils @@ -139,7 +138,7 @@ def main(): # Taken from the sfc tests if not os.path.isfile(COMMON_CONFIG.ubuntu_image_path): logger.info("Downloading image") - ft_utils.download_url( + os_utils.download_url( "http://artifacts.opnfv.org/sdnvpn/" "ubuntu-16.04-server-cloudimg-amd64-disk1.img", "/home/opnfv/functest/data/") |