airgun.entities.contentcredential

Module Contents

Classes

ContentCredentialEntity

ShowAllContentCredentials

Navigate to All Content Credentials page

AddNewContentCredential

Navigate to Create Content Credential page

EditContentCredential

Navigate to Content Credential details screen.

class airgun.entities.contentcredential.ContentCredentialEntity(browser)
endpoint_path = /content_credentials
create(values)

Create new content credentials entity

delete(entity_name)

Delete existing content credentials entity

search(value)

search for content credentials entity

read(entity_name, widget_names=None)

Read content credentials entity values

update(entity_name, values)

Update content credentials entity values

get_product_details(entity_name, product_name)

Get entity values for a product which associated to gpg key

Parameters
  • entity_name – Gpg key name

  • product_name – Name of associated product

class airgun.entities.contentcredential.ShowAllContentCredentials(obj, navigate_obj, logger=None)

Navigate to All Content Credentials page

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.contentcredential.AddNewContentCredential(obj, navigate_obj, logger=None)

Navigate to Create Content Credential page

VIEW
prerequisite
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.contentcredential.EditContentCredential(obj, navigate_obj, logger=None)

Navigate to Content Credential details screen.

Parameters

entity_name – name of content credential to edit

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.