airgun.entities.subscription¶
Module Contents¶
-
class
airgun.entities.subscription.SubscriptionEntity¶ Bases:
airgun.entities.base.BaseEntity-
endpoint_path= /subscriptions¶
-
has_manifest¶ Is there manifest present in current organization? :return: boolean value indicating whether manifest is present May be None if user can’t verify reliably if manifest is uploaded or not due to missing permissions
-
_wait_for_process_to_finish(self, name, has_manifest=False, timeout=600, ignore_error_messages=None)¶ Helper ensuring that task (upload / delete manifest / subscription) has finished. Run after action invoking task to leave Satellite in usable state. Currently waits for three events. Since page is written asynchronously, they can happen in any order. :param name: Name of running task :param has_manifest: Should manifest exist after task ended? :param timeout: Waiting timeout :param ignore_error_messages: A List of strings representing the error messages to ignore.
-
add_manifest(self, manifest_file, ignore_error_messages=None)¶ Upload manifest file :param manifest_file: Path to manifest file :param ignore_error_messages: List of error messages to ignore
-
refresh_manifest(self)¶ Refresh manifest
-
delete_manifest(self, ignore_error_messages=None)¶ Delete manifest from current organization
-
read_delete_manifest_message(self)¶ Read message displayed on ‘Confirm delete manifest’ dialog
-
add(self, entity_name, quantity=1)¶ Attach new subscriptions :param entity_name: Name of subscription to attach :param quantity: Number of subscriptions to attach
-
search(self, value)¶ search for subscription
-
filter_columns(self, columns=None)¶ Filters column headers :param columns: dict mapping column name to boolean value :return: tuple of the name of the headers
-
provided_products(self, entity_name, virt_who=False)¶ Read list of all products provided by subscription. :param entity_name: Name of subscription :param virt_who: Whether this is a virt who client subscription. :return: List of strings with product names
-
content_products(self, entity_name, virt_who=False)¶ Read list of products provided by subscription for subscribed content hosts. :param entity_name: Name of subscription :param virt_who: Whether this is a virt who client subscription. :return: List of strings with product names (may be empty)
-
update(self, entity_name, values)¶ Stub method provided for consistency with other Airgun entities. This operation was never implemented in Robottelo (no test requires it).
-
delete(self, entity_name)¶ Remove subscription :param entity_name: Name of subscription
-
Bases:
airgun.navigation.NavigateStepTo ensure that we reached the destination, some targets need extra post navigation tasks
-
class
airgun.entities.subscription.SubscriptionList¶ Bases:
airgun.entities.subscription.SubscriptionNavigationStepNavigate to Subscriptions main page
-
VIEW¶
-
step(self, *args, **kwargs)¶
-
-
class
airgun.entities.subscription.ManageManifest¶ Bases:
airgun.navigation.NavigateStepNavigate to ‘Manage Manifest’ dialog box on Subscriptions main page
-
VIEW¶
-
prerequisite¶
-
step(self, *args, **kwargs)¶
-
-
class
airgun.entities.subscription.DeleteManifestConfirmation¶ Bases:
airgun.navigation.NavigateStepNavigate to ‘Delete Manifest Confirmation’ dialog box on Subscriptions main page Dialog box appearance is animated. wait_for ensures that we interact with content only after animation has finished
-
VIEW¶
-
prerequisite¶
-
step(self, *args, **kwargs)¶
-
-
class
airgun.entities.subscription.AddSubscription¶ Bases:
airgun.navigation.NavigateStepNavigate to Add Subscriptions page
-
VIEW¶
-
prerequisite¶
-
am_i_here(self, *args, **kwargs)¶
-
step(self, *args, **kwargs)¶
-
-
class
airgun.entities.subscription.SubscriptionDetails¶ Bases:
airgun.entities.subscription.SubscriptionNavigationStepNavigate to Subscriptions’ Details page
- Args:
- entity_name: name of Subscription virt_who: Whether this is a virt who client subscription.
-
VIEW¶
-
prerequisite(self, *args, **kwargs)¶
-
step(self, *args, **kwargs)¶