d657b79046
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
28 lines
607 B
Ruby
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
|