puppet-tempest/spec/acceptance/basic_tempest_spec.rb
Emilien Macchi d657b79046 Add support for Tempest plugin packages
This patch allows to install Tempest plugin packages provided by RDO.
Disabled by default, manage_tests_packages boolean if set to True will
install Python packages that are needed when a service is set as
available in ::tempest class.

Change-Id: Iac9a57c2ba006bb2a660d2b54ee05bbe68125abf
2016-03-14 20:08:44 -04:00

28 lines
607 B
Ruby

require 'spec_helper_acceptance'
describe 'basic tempest' do
context 'default parameters' do
it 'should work with no errors' do
pp= <<-EOS
include ::openstack_integration
include ::openstack_integration::repos
class { '::tempest':
setup_venv => true,
configure_images => false,
configure_networks => false,
manage_tests_packages => true,
}
EOS
# Run it twice and test for idempotency
apply_manifest(pp, :catch_failures => true)
apply_manifest(pp, :catch_changes => true)
end
end
end