diff options
author | Jose Lausuch <jose.lausuch@ericsson.com> | 2017-06-29 17:17:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2017-06-29 17:17:33 +0000 |
commit | fbc676b2bcf63382a39c5b54d47c608a20a8cfea (patch) | |
tree | ddc40706b9dd3ef75c008f46781e357dc699583e /functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | |
parent | 06fd297de11e9dd061fe001502f66f139f054098 (diff) | |
parent | 0d22e5c1e1d6b49a99f0ca5be722fdc50ed105a4 (diff) |
Merge "SNAPS tests now support offline testing."
Diffstat (limited to 'functest/opnfv_tests/openstack/snaps/snaps_test_runner.py')
-rw-r--r-- | functest/opnfv_tests/openstack/snaps/snaps_test_runner.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py index e8a42159..0b87440b 100644 --- a/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py +++ b/functest/opnfv_tests/openstack/snaps/snaps_test_runner.py @@ -46,3 +46,7 @@ class SnapsTestRunner(unit.Suite): self.flavor_metadata = create_flavor.MEM_PAGE_SIZE_LARGE self.logger.info("Using flavor metadata '%s'", self.flavor_metadata) + + self.image_metadata = None + if hasattr(CONST, 'snaps_images'): + self.image_metadata = CONST.__getattribute__('snaps_images') |