aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/examples
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2016-12-02 08:30:47 +0100
committerMorgan Richomme <morgan.richomme@orange.com>2016-12-05 14:14:14 +0100
commitd13fac5935bb3fe573dc9a79e06b8cffde37712e (patch)
tree0333a6fd3380a1e85180591641a61597797ed8f7 /functest/opnfv_tests/openstack/examples
parentdc733c31177b0ffdc4c30b9c4801b765909f1c50 (diff)
Fix Pep8 issues related to \
JIRA: FUNCTEST-630 Change-Id: I2b6d3bec67c6fe290fb2ad795a54a2dd2e3c7a0b Signed-off-by: Morgan Richomme <morgan.richomme@orange.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/examples')
-rwxr-xr-xfunctest/opnfv_tests/openstack/examples/create_instance_and_ip.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/examples/create_instance_and_ip.py b/functest/opnfv_tests/openstack/examples/create_instance_and_ip.py
index 6a2abe60..b4e2e519 100755
--- a/functest/opnfv_tests/openstack/examples/create_instance_and_ip.py
+++ b/functest/opnfv_tests/openstack/examples/create_instance_and_ip.py
@@ -11,7 +11,9 @@
#
import argparse
+import os
import sys
+
import functest.utils.functest_logger as ft_logger
import functest.utils.openstack_utils as os_utils
import functest.utils.functest_constants as ft_constants
@@ -36,8 +38,7 @@ EXAMPLE_FLAVOR = ft_constants.EXAMPLE_FLAVOR
EXAMPLE_IMAGE_NAME = ft_constants.EXAMPLE_IMAGE_NAME
IMAGE_FILENAME = ft_constants.GLANCE_IMAGE_FILENAME
IMAGE_FORMAT = ft_constants.GLANCE_IMAGE_FORMAT
-IMAGE_PATH = ft_constants.FUNCTEST_DATA_DIR + \
- "/" + IMAGE_FILENAME
+IMAGE_PATH = os.path.join(ft_constants.FUNCTEST_DATA_DIR, IMAGE_FILENAME)
# NEUTRON Private Network parameters