Merge "Fix undefined attribute in scenario test class"

This commit is contained in:
Jenkins 2016-12-12 13:33:24 +00:00 committed by Gerrit Code Review
commit 584ddc414b

View File

@ -51,6 +51,7 @@ class ShareBasicOpsBase(manager.ShareScenarioTest):
base.verify_test_has_appropriate_tags(self)
# Setup image and flavor the test instance
# Support both configured and injected values
self.image_ref = None
if not hasattr(self, 'flavor_ref'):
self.flavor_ref = CONF.share.client_vm_flavor_ref
if CONF.share.image_with_share_tools: