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: Icbf4c0459b6422bc12510792e5ecc1b62a4df5dc
Closes-Bug: #1693403
This commit is contained in:
ZhongShengping 2017-05-25 11:29:44 +08:00
parent 0b2e1c6305
commit d5227299b1
1 changed files with 1 additions and 2 deletions

View File

@ -98,7 +98,7 @@ describe 'manila::db' do
{ :database_connection => 'mysql+pymysql://manila:manila@localhost/manila' }
end
it { is_expected.to contain_package('db_backend_package').with({ :ensure => 'present', :name => 'python-pymysql', :tag=> 'openstack' }) }
it { is_expected.to contain_package('python-pymysql').with({ :ensure => 'present', :name => 'python-pymysql', :tag=> 'openstack' }) }
end
end
@ -116,7 +116,6 @@ describe 'manila::db' do
{ :database_connection => 'mysql+pymysql://manila:manila@localhost/manila' }
end
it { is_expected.not_to contain_package('db_backend_package') }
end
end