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: I599e5c2ca3c81070f27840df1ed80eacfecad8e8 Closes-Bug: #1693403
This commit is contained in:
parent
f610aa0645
commit
133b6fd93b
|
@ -124,7 +124,7 @@ describe 'barbican::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-pysqlite2').with(
|
||||
:ensure => 'present',
|
||||
:name => 'python-pysqlite2',
|
||||
:tag => 'openstack'
|
||||
|
@ -139,7 +139,7 @@ describe 'barbican::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'
|
||||
|
@ -154,8 +154,6 @@ describe 'barbican::db' do
|
|||
let :params do
|
||||
{ :database_connection => 'mysql+pymysql://barbican:barbican@localhost/barbican', }
|
||||
end
|
||||
|
||||
it { is_expected.not_to contain_package('db_backend_package') }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue