diff options
author | 2017-08-28 19:47:15 +0000 | |
---|---|---|
committer | 2017-08-28 19:47:15 +0000 | |
commit | ba459114a5dfd1efe5e817fdc8a172bfb4dc0a3e (patch) | |
tree | 8a8fc33d077f97143e9a9f378280a15c38a63c7e /functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | |
parent | 71e287712d1f59e442603af244ff3230a6333e44 (diff) | |
parent | 9cd065bd3ce2544ced1ace605da0d77c1b59cb3b (diff) |
Merge "Obtain scenario by CONST instead of get function"
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/snaps_test_runner.py')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 3 |
1 files changed, 1 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 19c6a87f..bfdcd862 100644 --- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py +++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py @@ -10,7 +10,6 @@ import logging from functest.core import unit from functest.opnfv_tests.openstack.snaps import snaps_utils -from functest.utils import functest_utils from functest.utils.constants import CONST from snaps.openstack import create_flavor @@ -44,7 +43,7 @@ class SnapsTestRunner(unit.Suite): self.use_fip = CONST.__getattribute__('snaps_use_floating_ips') self.use_keystone = CONST.__getattribute__('snaps_use_keystone') - scenario = functest_utils.get_scenario() + scenario = CONST.__getattribute__('DEPLOY_SCENARIO') self.flavor_metadata = None if 'ovs' in scenario or 'fdio' in scenario: |