Fix glance noop tests

Change-Id: Ic51503036e879aecc2591a9511775d42b34a6d98
Closes-Bug: #1646874
This commit is contained in:
Mykyta Karpin 2016-12-02 18:03:38 +02:00
parent 774594b60e
commit 43e9fa3e77
1 changed files with 6 additions and 0 deletions

View File

@ -240,10 +240,12 @@ describe manifest do
show_image_direct_url = glance_config['show_image_direct_url']
else
show_image_direct_url = true
end
if glance_config.has_key?('show_multiple_locations')
show_multiple_locations = glance_config['show_multiple_locations']
else
show_multiple_locations = true
end
end
if ironic_enabled
@ -267,10 +269,12 @@ describe manifest do
show_image_direct_url = glance_config['show_image_direct_url']
else
show_image_direct_url = true
end
if glance_config.has_key?('show_multiple_locations')
show_multiple_locations = glance_config['show_multiple_locations']
else
show_multiple_locations = true
end
end
let :params do { :glance_backend => 'vmware', } end
it 'should declare vmware backend' do
@ -336,10 +340,12 @@ describe manifest do
show_image_direct_url = glance_config['show_image_direct_url']
else
show_image_direct_url = false
end
if glance_config.has_key?('show_multiple_locations')
show_multiple_locations = glance_config['show_multiple_locations']
else
show_multiple_locations = false
end
end
let :params do { :glance_backend => 'swift', } end
it 'should declare swift backend' do