airgun.entities.configgroup

Module Contents

Classes

ConfigGroupEntity

ShowAllConfigGroups

Navigate to All Config Groups screen.

AddNewConfigGroup

Navigate to Create new Config Group screen.

EditConfigGroup

Navigate to Edit Config Group screen.

class airgun.entities.configgroup.ConfigGroupEntity(browser)
endpoint_path = /foreman_puppet/config_groups
create(values)

Create new config group

search(value)

Search for existing config group

read(entity_name, widget_names=None)

Read existing config group

update(entity_name, values)

Update config group

delete(entity_name)

Delete config group

class airgun.entities.configgroup.ShowAllConfigGroups(obj, navigate_obj, logger=None)

Navigate to All Config Groups 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.configgroup.AddNewConfigGroup(obj, navigate_obj, logger=None)

Navigate to Create new Config Group screen.

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

Navigate to Edit Config Group screen.

Parameters

entity_name – name of config group

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.