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: I444045e9c2b7af4fa44e828ff2386cd8169f6b33
Closes-Bug: #1693403
This commit is contained in:
ZhongShengping 2017-05-25 11:31:55 +08:00
parent f8bd6e7c12
commit 107a576ff2
1 changed files with 1 additions and 2 deletions

View File

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