Fix the wrong image path 09/35709/1
authorLinda Wang <wangwulin@huawei.com>
Fri, 2 Jun 2017 08:38:03 +0000 (08:38 +0000)
committerLinda Wang <wangwulin@huawei.com>
Fri, 2 Jun 2017 08:39:51 +0000 (08:39 +0000)
The images are put in the dir /home/opnfv/functest/images now.

Change-Id: I15b41782cd7a7372bdb962da575edc5d1b54d509
Signed-off-by: Linda Wang <wangwulin@huawei.com>
promise/test/functest/run_tests.py

index 448231c..f7e9148 100644 (file)
@@ -46,7 +46,7 @@ PROMISE_FLAVOR_DISK = CONST.promise_flavor_disk
 GLANCE_IMAGE_FILENAME = CONST.openstack_image_file_name
 GLANCE_IMAGE_FORMAT = CONST.openstack_image_disk_format
 GLANCE_IMAGE_NAME = CONST.openstack_image_file_name
-GLANCE_IMAGE_PATH = os.path.join(CONST.dir_functest_data,
+GLANCE_IMAGE_PATH = os.path.join(CONST.dir_functest_images,
                                  GLANCE_IMAGE_FILENAME)
 
 PROMISE_NET_NAME = CONST.promise_network_name