Switch neutron init spec to check oslo log resource
We need to check oslo log resource instead of config, to ensure that changes in oslo module don't break other module unit tests. Change-Id: Icb3123f964391d9510bce172fa63efef8e99f9cb
This commit is contained in:
parent
dc01912a75
commit
cf467641cb
@ -52,9 +52,9 @@ describe 'neutron' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'configures logging' do
|
it 'configures logging' do
|
||||||
is_expected.to contain_neutron_config('DEFAULT/log_file').with_value('<SERVICE DEFAULT>')
|
is_expected.to contain_oslo__log('neutron_config').with(:log_file => '<SERVICE DEFAULT>',
|
||||||
is_expected.to contain_neutron_config('DEFAULT/log_dir').with_value(params[:log_dir])
|
:log_dir => params[:log_dir],
|
||||||
is_expected.to contain_neutron_config('DEFAULT/use_stderr').with_value('<SERVICE DEFAULT>')
|
:use_stderr => '<SERVICE DEFAULT>')
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user