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: I1542a0427c7a7a9f73fdc1929a9d131ea73a28e0 Closes-Bug: #1693403
This commit is contained in:
parent
69d252ae24
commit
12d6a9ecf8
|
@ -91,13 +91,13 @@ describe 'murano::db_cfapi' do
|
|||
|
||||
case facts[:osfamily]
|
||||
when 'Debian'
|
||||
it { is_expected.to contain_package('db_backend_package').with(
|
||||
it { is_expected.to contain_package('python-pymysql').with(
|
||||
:ensure => 'present',
|
||||
:name => 'python-pymysql',
|
||||
:tag => 'openstack'
|
||||
)}
|
||||
when 'RedHat'
|
||||
it { is_expected.not_to contain_package('db_backend_package') }
|
||||
it { is_expected.not_to contain_package('python-pymysql') }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
@ -95,13 +95,13 @@ on_supported_os({
|
|||
|
||||
case facts[:osfamily]
|
||||
when 'Debian'
|
||||
it { is_expected.to contain_package('db_backend_package').with(
|
||||
it { is_expected.to contain_package('python-pymysql').with(
|
||||
:ensure => 'present',
|
||||
:name => 'python-pymysql',
|
||||
:tag => 'openstack'
|
||||
)}
|
||||
when 'RedHat'
|
||||
it { is_expected.not_to contain_package('db_backend_package') }
|
||||
it { is_expected.not_to contain_package('python-pymysql') }
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue