airgun.entities.oscaptailoringfile
¶
Module Contents¶
Classes¶
Navigate to All SCAP Tailoring File screen. |
|
Navigate to upload new SCAP Tailoring File page. |
|
Navigate to edit existing SCAP Tailoring File page. |
- class airgun.entities.oscaptailoringfile.OSCAPTailoringFileEntity(browser)¶
- endpoint_path = /compliance/tailoring_files¶
- create(values)¶
Creates new SCAP Tailoring File
- Parameters
values – Parameters to be assigned to new SCAP Tailoring File, mandatory values are Name and Scap file.
- delete(entity_name)¶
Delete corresponding SCAP Tailoring File
- Parameters
entity_name – name of the corresponding SCAP Tailoring File
- search(entity_name)¶
Search for SCAP Tailoring File
- Parameters
entity_name – name of the corresponding SCAP Tailoring File
- Returns
result of the SCAP Tailoring File search
- read(entity_name, widget_names=None)¶
Reads the content of corresponding SCAP Tailoring File
- Parameters
entity_name – specify corresponding SCAP Tailoring File
- Returns
dict representing tabs, with nested dicts representing fields
- update(entity_name, values)¶
Updates instance of SCAP Tailoring File with new values
- Parameters
entity_name – specify corresponding SCAP Tailoring File
values – updates individual parameters of corresponding SCAP Tailoring File
- class airgun.entities.oscaptailoringfile.ShowAllSCAPTailoringFiles(obj, navigate_obj, logger=None)¶
Navigate to All SCAP Tailoring File 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.oscaptailoringfile.UploadNewSCAPTailoringFile(obj, navigate_obj, logger=None)¶
Navigate to upload new SCAP Tailoring File 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.oscaptailoringfile.EditSCAPTailoringFile(obj, navigate_obj, logger=None)¶
Navigate to edit existing SCAP Tailoring File page.
- 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.