airgun.entities.media
¶
Module Contents¶
Classes¶
Navigate to All Medium screen. |
|
Navigate to Create new Media screen. |
|
Navigate to Edit Media screen. |
- class airgun.entities.media.MediaEntity(browser)¶
- endpoint_path = /media¶
- create(values)¶
Create new media
- search(value)¶
Search for specific media
- read(entity_name, widget_names=None)¶
Read values for existing media
- update(entity_name, values)¶
Update media values
- delete(entity_name)¶
Delete media
- class airgun.entities.media.ShowAllMedium(obj, navigate_obj, logger=None)¶
Navigate to All Medium 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.media.AddNewMedia(obj, navigate_obj, logger=None)¶
Navigate to Create new Media 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.media.EditMedia(obj, navigate_obj, logger=None)¶
Navigate to Edit Media screen.
- Parameters
entity_name – name of media
- 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.