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: Ic7d47f2f993423ee0dc00039be281c4f591d5052 Closes-Bug: #1693403
This commit is contained in:
parent
38342e2327
commit
87da9767bc
@ -85,7 +85,7 @@ describe 'watcher::db' do
|
|||||||
end
|
end
|
||||||
|
|
||||||
it 'install the proper backend package' do
|
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',
|
:ensure => 'present',
|
||||||
:name => 'python-pymysql',
|
:name => 'python-pymysql',
|
||||||
:tag => 'openstack'
|
:tag => 'openstack'
|
||||||
@ -100,9 +100,6 @@ describe 'watcher::db' do
|
|||||||
{ :database_connection => 'mysql+pymysql://watcher:watcher@localhost/watcher', }
|
{ :database_connection => 'mysql+pymysql://watcher:watcher@localhost/watcher', }
|
||||||
end
|
end
|
||||||
|
|
||||||
it 'install the proper backend package' do
|
|
||||||
is_expected.not_to contain_package('db_backend_package')
|
|
||||||
end
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user