File: basic_tempest_spec.rb

package info (click to toggle)
puppet-module-tempest 25.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,000 kB
  • sloc: ruby: 1,268; python: 38; sh: 10; makefile: 10
file content (27 lines) | stat: -rw-r--r-- 601 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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