Fix unit test

The db_backend_package name has changed in puppet-oslo[0], so fix it.

[0]: https://review.openstack.org/#/c/467582/

Change-Id: I0c2d7751519a091064a3b155f6eaaf81a5dc60ea
Closes-Bug: #1693403
This commit is contained in:
ZhongShengping 2017-05-25 11:28:44 +08:00
parent 0f979bca4b
commit 22dce50ac0
1 changed files with 1 additions and 2 deletions

View File

@ -96,7 +96,7 @@ describe 'keystone::db' do
end
it 'install the proper backend package' do
is_expected.to contain_package('db_backend_package').with(
is_expected.to contain_package('python-pymysql').with(
:ensure => 'present',
:name => 'python-pymysql',
:tag => ['openstack']
@ -118,7 +118,6 @@ describe 'keystone::db' do
let :params do
{ :database_connection => 'mysql+pymysql://keystone:keystone@localhost/keystone', }
end
it { is_expected.not_to contain_package('db_backend_package') }
end
end