airgun.entities.errata

Module Contents

Classes

ErrataEntity

ShowAllErratum

Navigate to All Erratum screen.

ErrataDetails

Navigate to Errata details page.

class airgun.entities.errata.ErrataEntity(browser)
endpoint_path = /errata
search(value, applicable=True, installable=False, repo=None)

Search for specific errata.

Parameters
  • value (str) – search query to type into search field.

  • applicable (bool) – filter by only applicable errata

  • installable (bool) – filter by only installable errata

  • repo (str optional) – filter by repository name

Returns

list of dicts representing table rows

Return type

list

read(entity_name, applicable=False, installable=False, repo=None, environment=None, widget_names=None)

Read errata details.

Parameters
  • entity_name (str) – errata id or title

  • applicable (bool) – filter by only applicable errata

  • installable (bool) – filter by only installable errata

  • repo (str optional) – filter by repository name

  • environment (str optional) – filter applicable hosts by environment name

Returns

dict representing tabs, with nested dicts representing fields and values

Return type

dict

install(entity_name, host_name)

Install errata on content host.

Parameters
  • entity_name (str) – errata id or title

  • host_name (str) – content host name to apply errata on

search_content_hosts(entity_name, value, environment=None)

Search errata applicability for content hosts.

Parameters
  • entity_name (str) – errata id or title

  • value (str) – search query to type into search field.

  • environment (str optional) – filter applicable hosts by environment name

class airgun.entities.errata.ShowAllErratum(obj, navigate_obj, logger=None)

Navigate to All Erratum screen.

VIEW
step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.

class airgun.entities.errata.ErrataDetails(obj, navigate_obj, logger=None)

Navigate to Errata details page.

Parameters

entity_name – id or title of errata

Optional Args:

applicable: whether to filter errata by only applicable ones installable: whether to filter errata by only installable ones repo: name of repository to filter errata by

VIEW
prerequisite(*args, **kwargs)

Describes a step that must be carried our prior to this one.

This often calls a previous navigate_to, often using one of the helpers, NavigateToSibling which will navigate to a given destination using the same object, or NavigateToAttribute which will navigate to a destination against an object describe by the attribute of the parent object.

This is a default and is generally overridden.

step(*args, **kwargs)

Describes the work to be done to get to the destination after the prequisite is met.

This is a default and is generally overridden.