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: I5b0f577949b8dfd91575a44a39153a8377fda905
Closes-Bug: #1693403
This commit is contained in:
ZhongShengping 2017-05-25 11:35:25 +08:00
parent f92817c91d
commit 331c0100b4
1 changed files with 1 additions and 2 deletions

View File

@ -83,7 +83,7 @@ describe 'trove::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',
@ -98,7 +98,6 @@ describe 'trove::db' do
{ :database_connection => 'mysql+pymysql://trove:trove@localhost/trove', }
end
it { is_expected.not_to contain_package('db_backend_package') }
end
end