diff options
author | Cedric Ollivier <cedric.ollivier@orange.com> | 2017-12-07 15:26:32 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-12-07 15:26:32 +0000 |
commit | 04886b12a4f5c3f18c71f0ca78fdbcf8a545f5f6 (patch) | |
tree | 90e5139ed774f620b336296f8829fbc7a6a7247c /functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | |
parent | 2800b22d762e938727ec4b466178eca4de05006d (diff) | |
parent | fa0a614c8ea3e757440c82380707e0221079e32a (diff) |
Merge "Fix the yamllint errors in functest/ci"
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/snaps_test_runner.py')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 6 |
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 bfdcd862..023f1bbd 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 |