Skip to content

Commit

Permalink
Drop EOL Python 2 acceptance tests
Browse files Browse the repository at this point in the history
Puppetboard supports only Python 3.
  • Loading branch information
bastelfreak committed Oct 1, 2020
1 parent 432306c commit cef82c4
Showing 1 changed file with 0 additions and 25 deletions.
25 changes: 0 additions & 25 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,31 +8,6 @@
apache_conf_file = '/etc/apache2/conf-enabled/puppetboard.conf'
end

context 'default parameters' do
it 'works with no errors' do
pp = <<-EOS
if $facts['os']['family'] == 'RedHat' {
include epel
}
class { '::puppetboard':
manage_git => true,
manage_virtualenv => true,
}
EOS

# Run it twice and test for idempotency
apply_manifest(pp, catch_failures: true)
apply_manifest(pp, catch_changes: true)
end

# TODO: get this working
# it 'should not answer to localhost' do
# shell("/usr/bin/curl localhost:80", :acceptable_exit_codes => 7) do |r|
# r.exit_code.should == 7 # curl (7): Couldn't connect to host
# end
# end
end

context 'configuring Apache / mod_wsgi' do
it 'works with no errors' do
pp = <<-EOS
Expand Down

0 comments on commit cef82c4

Please sign in to comment.