airgun.views.errata

Module Contents

Classes

ErratumView

Base view for Satellite pages

ErrataDetailsView

Base view for Satellite pages

ApplyErrataView

Base view for Satellite pages

ErrataInstallationConfirmationView

Base view for Satellite pages

ErrataTaskDetailsView

Common view for task details screen. Can be found for most of tasks for

class airgun.views.errata.ErratumView(parent, logger=None, **kwargs)

Base view for Satellite pages

title
table
repo_filter
applicable_filter
installable_filter
apply_errata
searchbox
search(query, applicable=True, installable=False, repo=None)

Apply available filters before proceeding with searching and automatically set proper search mask if errata id instead of errata title was passed.

Parameters
  • query (str) – search query to type into search field. Both errata id (RHEA-2012:0055) and errata title (Sea_Erratum) are supported.

  • 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

property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.errata.ErrataDetailsView(parent, logger=None, **kwargs)

Base view for Satellite pages

class details(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

advisory
cves
type
severity
issued
last_updated_on
reboot_suggested
topic
description
solution
class content_hosts(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

TAB_NAME = Content Hosts
environment_filter
searchbox
apply
table
search(query, environment=None)

Apply environment filter before proceeding with searching.

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

  • environment (str optional) – filter by environment name

Returns

list of dicts representing table rows

Return type

list

class repositories(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

lce_filter
cv_filter
searchbox
table
search(query, lce=None, cv=None)

Apply available filters before proceeding with searching.

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

  • lce (str optional) – filter by lifecycle environment name

  • cv (str optional) – filter by content view name

Returns

list of dicts representing table rows

Return type

list

class packages(parent, logger=None, **kwargs)

Regular primary level Tab.

Usage:

@View.nested
class mytab(SatTab):
    TAB_NAME = 'My Tab'
@View.nested
class subscriptions(SatTab):
    # no need to specify 'TAB_NAME', it will be set to 'Subscriptions'
    # automatically
    pass

Note that TAB_NAME is optional and if it’s absent - capitalized class name is used instead, which is useful for simple tab names like ‘Subscriptions’

independent_packages
module_stream_packages
breadcrumb
property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.errata.ApplyErrataView(parent, logger=None, **kwargs)

Base view for Satellite pages

breadcrumb
environment_filter
searchbox
next_button
table
search(query, environment=None)

Apply environment filter before proceeding with searching.

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

  • environment (str optional) – filter by environment name

Returns

list of dicts representing table rows

Return type

list

property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool

class airgun.views.errata.ErrataInstallationConfirmationView(parent, logger=None, **kwargs)

Base view for Satellite pages

cancel
confirm
class airgun.views.errata.ErrataTaskDetailsView(parent, logger=None, **kwargs)

Common view for task details screen. Can be found for most of tasks for various entities like Products, Repositories, Errata etc.

property is_displayed

Overrides the Widget.is_displayed(). The difference is that if the view does not have the root locator, it assumes it is displayed.

Returns

bool