airgun.entities.activationkey

Module Contents

Classes

ActivationKeyEntity

ShowAllActivationKeys

Navigate to All Activation Keys page

AddNewActivationKey

Navigate to New Activation Key page

EditExistingActivationKey

Navigate to Edit Activation Key page

class airgun.entities.activationkey.ActivationKeyEntity(browser)
endpoint_path = /activation_keys
create(values)

Create new activation key entity

delete(entity_name)

Remove existing activation key entity

search(value)

Search for activation key

read(entity_name, widget_names=None)

Read all values for created activation key entity

update(entity_name, values)

Update necessary values for activation key

add_subscription(entity_name, subscription_name)

Add subscription to activation key

Parameters
  • entity_name – Activation key name

  • subscription_name – Name of subscription to be added to activation key

add_host_collection(entity_name, hc_name)

Add host collection to activation key

Parameters
  • entity_name – Activation key name

  • hc_name – Name of host collection to be added to activation key

remove_host_collection(entity_name, hc_name)

Remove host collection from activation key

Parameters
  • entity_name – Activation key name

  • hc_name – Name of host collection to be removed from activation key

class airgun.entities.activationkey.ShowAllActivationKeys(obj, navigate_obj, logger=None)

Navigate to All Activation Keys 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.activationkey.AddNewActivationKey(obj, navigate_obj, logger=None)

Navigate to New Activation Key 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.activationkey.EditExistingActivationKey(obj, navigate_obj, logger=None)

Navigate to Edit Activation Key page

Parameters

entity_name – name of the activation key

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.