cfme.intelligence.reports.reports module

Module handling definition, CRUD, queuing Reports.

Extensively uses cfme.intelligence.reports.ui_elements

class cfme.intelligence.reports.reports.CannedSavedReport(path_to_report, datetime)[source]

Bases: cfme.intelligence.reports.reports.CustomSavedReport

As we cannot create or edit canned reports, we don’t know their titles and so, so we need to change the navigation a little bit for it to work correctly.

Parameters:
  • path_to_report – Iterable with path to report.
  • datetime – Datetime of “Run At” of the report. That’s what queue_canned_report() returns.
navigate()[source]
classmethod new(path)[source]
class cfme.intelligence.reports.reports.CustomReport(**values)[source]

Bases: utils.update.Updateable

create(cancel=False)[source]
delete(cancel=False)[source]
get_saved_reports()[source]
queue(wait_for_finish=False)[source]
update(updates)[source]
class cfme.intelligence.reports.reports.CustomSavedReport(report, datetime)[source]

Bases: utils.update.Updateable, utils.pretty.Pretty

Custom Saved Report. Enables us to retrieve data from the table.

Parameters:
  • report – Report that we have data from.
  • datetime – Datetime of “Run At” of the report. That’s what queue_canned_report() returns.
data[source]

Retrieves data from the saved report.

This attribute is lazily evaluated and cached.

download(extension)[source]
navigate()[source]
pretty_attrs = ['report', 'datetime']
class cfme.intelligence.reports.reports.SavedReportData(headers, body)[source]

Bases: utils.pretty.Pretty

This class stores data retrieved from saved report.

Parameters:
  • headers – Tuple with header columns.
  • body – List of tuples with body rows.
find_cell(column, value, cell)[source]
find_row(column, value)[source]
pretty_attrs = ['headers', 'body']
rows[source]
cfme.intelligence.reports.reports.get_report_name(o)[source]
cfme.intelligence.reports.reports.get_saved_canned_reports(*path)[source]
cfme.intelligence.reports.reports.queue_canned_report(*path)[source]

Queue report from selection of pre-prepared reports.

Parameters:*path – Path in tree after All Reports

Returns: Value of Run At in the table so the run can be then checked.

cfme.intelligence.reports.reports.reload_view()[source]

Reloads and keeps on the current tabstrip page

cfme.intelligence.reports.reports.select(**kwargs)
cfme.intelligence.reports.reports.tag(tag_name, **kwargs)[source]