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: I9ce6000cc234d706c675b406b486830a46def1e8
Closes-Bug: #1693403
This commit is contained in:
ZhongShengping 2017-05-25 11:33:53 +08:00
parent a24211e73e
commit 7bf014b111
1 changed files with 1 additions and 4 deletions

View File

@ -85,7 +85,7 @@ describe 'panko::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'
@ -100,9 +100,6 @@ describe 'panko::db' do
{ :database_connection => 'mysql+pymysql://panko:panko@localhost/panko', }
end
it 'install the proper backend package' do
is_expected.not_to contain_package('db_backend_package')
end
end
end