File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -693,14 +693,14 @@ def test_positive_minimal_report_hypervisor(
693693 )
694694
695695 timestamp = (datetime .now (UTC ) - timedelta (minutes = 2 )).strftime ('%Y-%m-%d %H:%M' )
696- org_session .cloudinventory .generate_report (module_sca_manifest_org .name )
696+ org_session .cloudinventory .generate_and_upload_report (module_sca_manifest_org .name )
697697 # wait_for_tasks report generation task to finish
698698 wait_for (
699699 lambda : (
700700 module_target_sat .api .ForemanTask ()
701701 .search (
702702 query = {
703- 'search' : f'label = ForemanInventoryUpload::Async::GenerateReportJob '
703+ 'search' : f'label = ForemanInventoryUpload::Async::HostInventoryReportJob '
704704 f'and started_at >= "{ timestamp } "'
705705 }
706706 )[0 ]
@@ -713,7 +713,7 @@ def test_positive_minimal_report_hypervisor(
713713 handle_exception = True ,
714714 )
715715 # download report
716- report_path = org_session .cloudinventory .download_report (module_sca_manifest_org .name )
716+ report_path = org_session .cloudinventory .download_report_only (module_sca_manifest_org .name )
717717 json_data = get_report_data (report_path )
718718 host_data = [item for item in json_data ['hosts' ]]
719719 # Verify that guest hostname is NOT in report
You can’t perform that action at this time.
0 commit comments