airgun.entities.redhat_repository

Module Contents

Classes

RedHatRepositoryEntity

ShowAllRepositories

Navigate to the page that contains Red Hat products repositories

class airgun.entities.redhat_repository.RedHatRepositoryEntity(browser)
endpoint_path = /redhat_repositories
search(value, category='Available', types=None)

Search RH repositories.

Parameters
  • value (str) – The value to search by.

  • category (str) – The repository category to search, options: Available, Enabled, Both

  • types (list[str]) – (optional) The repository content types to refine the search. eg: RPM, OSTree …

read(entity_name=None, category='Available', recommended_repo=None)

Read RH Repositories values.

Parameters
  • entity_name – The repository name

  • category – The repository category to search, options: Available, Enabled

  • recommended_repo – on/off RH recommended repositories

enable(entity_name, arch, version=None)

Enable a redhat repository.

Parameters
  • entity_name (str) – The RH repository set name.

  • arch (str) – The system target repository architecture.

  • version (str) – (optional) The OS release version if mandatory for this repository.

disable(entity_name, orphaned=False)

Disable a redhat repository.

Parameters
  • entity_name (str) – The RH repository name

  • orphaned (bool) – Whether the repository is Orphaned

class airgun.entities.redhat_repository.ShowAllRepositories(obj, navigate_obj, logger=None)

Navigate to the page that contains Red Hat products repositories

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.