Fix broken unit tests because of list in notification drivers

Because the value for oslo_messaging_notifications/driver is now
a list[1], we should expect that a list is set when multiple drivers
are given.

[1] c7b0cc82fac79b47c3dd9a625cbd5a1eb192ed00

Change-Id: I7f8c3c9ab72e7962e96464842b45f5b7946ea439
This commit is contained in:
Takashi Kajinami 2020-04-26 23:11:53 +09:00
parent 3085391d63
commit 6382396f09
1 changed files with 1 additions and 1 deletions

View File

@ -478,7 +478,7 @@ describe 'keystone' do
})
end
it { is_expected.to contain_keystone_config('oslo_messaging_notifications/driver').with_value('keystone.openstack.common.notifier.rpc_notifier') }
it { is_expected.to contain_keystone_config('oslo_messaging_notifications/driver').with_value(['keystone.openstack.common.notifier.rpc_notifier']) }
it { is_expected.to contain_keystone_config('oslo_messaging_notifications/topics').with_value('notifications') }
it { is_expected.to contain_keystone_config('DEFAULT/notification_format').with_value('cadf') }
it { is_expected.to contain_keystone_config('DEFAULT/control_exchange').with_value('keystone') }