aboutsummaryrefslogtreecommitdiffstats
path: root/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
diff options
context:
space:
mode:
authorLinda Wang <wangwulin@huawei.com>2017-12-04 06:36:06 +0000
committerLinda Wang <wangwulin@huawei.com>2017-12-06 01:47:21 +0000
commitfa0a614c8ea3e757440c82380707e0221079e32a (patch)
treeb45c7913cc2391fa811620b51152792e8ba8302d /functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
parent0273da05f68727835b5fc778f54eb70ccae209d8 (diff)
Fix the yamllint errors in functest/ci
And also, remove the params "tempest_use_custom_images" and "unique_names" of vping, rally and tempest. Change-Id: Ic4243ef2f5e965910e5befa87db8d585cad34fa2 Signed-off-by: Linda Wang <wangwulin@huawei.com>
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/snaps_test_runner.py')
-rw-r--r--functest/opnfv_tests/openstack/snaps/snaps_test_runner.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
index bfdcd8626..023f1bbd0 100644
--- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
+++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py
@@ -41,8 +41,10 @@ class SnapsTestRunner(unit.Suite):
else:
self.ext_net_name = snaps_utils.get_ext_net_name(self.os_creds)
- self.use_fip = CONST.__getattribute__('snaps_use_floating_ips')
- self.use_keystone = CONST.__getattribute__('snaps_use_keystone')
+ self.use_fip = (
+ CONST.__getattribute__('snaps_use_floating_ips') == 'True')
+ self.use_keystone = (
+ CONST.__getattribute__('snaps_use_keystone') == 'True')
scenario = CONST.__getattribute__('DEPLOY_SCENARIO')
self.flavor_metadata = None