theforeman / foreman_rh_cloud

a plugin to Foreman that generates and uploads reports to the Red Hat cloud
GNU General Public License v3.0
6 stars 30 forks source link

With katello-removal we have 31 test failures now #836

Open chris1984 opened 1 year ago

chris1984 commented 1 year ago
Error:
ArchivedReportGeneratorTest#test_0001_generates a report for a single host:
NoMethodError: undefined method `katello_agent_installed?' for #<Katello::Host::ContentFacet:0x000055ea643520d8>
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/slice.rb:130:in `report_system_profile'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/slice.rb:56:in `block (2 levels) in report_host'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/json_stream.rb:17:in `object'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/json_stream.rb:56:in `object_field'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/slice.rb:55:in `block in report_host'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/json_stream.rb:17:in `object'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/slice.rb:45:in `report_host'
    /home/vagrant/foreman_rh_cloud/lib/foreman_inventory_upload/generators/slice.rb:34:in `block (3 levels) in report_slice'