airgun.entities.organization

Module Contents

class airgun.entities.organization.OrganizationEntity

Bases: airgun.entities.base.BaseEntity

endpoint_path = /organizations
create(self, values)

Create new organization entity

delete(self, entity_name)

Delete existing organization

read(self, entity_name, widget_names=None)

Read specific organization details

search(self, value)

Search for organization entity

update(self, entity_name, values)

Update necessary values for organization

select(self, org_name)

Select necessary organization from context menu on the top of the page

class airgun.entities.organization.ShowAllOrganizations

Bases: airgun.navigation.NavigateStep

Navigate to All Organizations page

VIEW
step(self, *args, **kwargs)
class airgun.entities.organization.AddNewOrganization

Bases: airgun.navigation.NavigateStep

Navigate to Create Organization page

VIEW
prerequisite
step(self, *args, **kwargs)
class airgun.entities.organization.EditOrganization

Bases: airgun.navigation.NavigateStep

Navigate to Edit Organization page

Args:
entity_name: name of the organization
VIEW
prerequisite(self, *args, **kwargs)
step(self, *args, **kwargs)
class airgun.entities.organization.SelectOrganizationContext

Bases: airgun.navigation.NavigateStep

Select Organization from menu

Args:
org_name: name of the organization
VIEW
am_i_here(self, *args, **kwargs)
step(self, *args, **kwargs)
post_navigate(self, _tries, *args, **kwargs)

Handle alert screen if it’s present