cfme.exceptions module¶
Provides custom exceptions for the cfme module.
-
exception
cfme.exceptions.AccordionItemNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when it’s not possible to locate and accordion item.
-
exception
cfme.exceptions.AuthModeUnknown[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if an invalid authenctication mode is passed to
cfme.configure.configuration.set_auth_mode()
-
exception
cfme.exceptions.AutomateImportError[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by scripts dealing with Automate when importing automate XML fails
-
exception
cfme.exceptions.AvailabilityZoneNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Cloud Availability Zone cannot be found.
-
exception
cfme.exceptions.BackupNotFoundError[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when volume backup not found
-
exception
cfme.exceptions.BlockTypeUnknown[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the block type requested to
cfme.web_ui.InfoBlock.
-
exception
cfme.exceptions.BugException(bug_no, operation)[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by methods inside the framework that are broken due to a bug
-
exception
cfme.exceptions.CFMEException[source]¶ Bases:
exceptions.ExceptionBase class for exceptions in the CFME tree
Used to easily catch errors of our own making, versus errors from external libraries.
-
exception
cfme.exceptions.CFMEExceptionOccured[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by
cfme.web_ui.cfme_exception.assert_no_cfme_exception()when there is a Rails exception currently on page.
-
exception
cfme.exceptions.CUCommandException[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when one of the commands run to set up a CU VM fails
-
exception
cfme.exceptions.CandidateNotFound(d)[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if there is no candidate found whilst trying to traverse a tree in
cfme.web_ui.Tree.click_path().-
message¶
-
Bases:
cfme.exceptions.CFMEExceptionUsed when it is not possible to continue with navigation.
Raising it will recycle the browser, therefore refresh the session. If you pass a string to the constructor, it will be written to the log.
-
exception
cfme.exceptions.CannotScrollException[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when even during the heaviest workarounds for scrolling failure comes.
-
exception
cfme.exceptions.ClusterNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a cluster is not found
-
exception
cfme.exceptions.ConsoleNotSupported(product_name, version)[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by functions in
cfme.configure.configurationwhen an invalid console type is given
-
exception
cfme.exceptions.ConsoleTypeNotSupported(console_type)[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by functions in
cfme.configure.configurationwhen an invalid console type is given
-
exception
cfme.exceptions.DbAllocatorConfigNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when cdme_data.yaml file does not contain configuration of ‘db_allocator’.
-
exception
cfme.exceptions.DestinationNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised during navigation where the navigator destination is not found
-
exception
cfme.exceptions.ElementOrBlockNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if an Element or a Block is not found whilst locating in
cfme.web_ui.InfoBlock().
-
exception
cfme.exceptions.FlashMessageException[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by functions in
cfme.web_ui.flash
-
exception
cfme.exceptions.FlavorNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific cloud flavor cannot be found in the UI
-
exception
cfme.exceptions.HostNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific host cannot be found in UI.
-
exception
cfme.exceptions.HostStatsNotContains[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the hosts information does not contain the specified key whilst running
cfme.cloud.provider.Provider.do_stats_match().
-
exception
cfme.exceptions.ImageNotFound[source]¶ Bases:
cfme.exceptions.VmOrInstanceNotFoundRaised if a specific image cannot be found
-
exception
cfme.exceptions.InstanceNotFound[source]¶ Bases:
cfme.exceptions.VmOrInstanceNotFoundRaised if a specific instance cannot be found.
-
exception
cfme.exceptions.ItemNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when an item is not found in general.
-
exception
cfme.exceptions.JDBCDriverConfigNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when cdme_data.yaml file does not contain configuration of ‘jdbc_drivers’.
-
exception
cfme.exceptions.KeyPairNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific cloud key pair cannot be found in the UI
-
exception
cfme.exceptions.LabelNotFoundException[source]¶ Bases:
exceptions.ExceptionRaises when failed to remove label from object via cli
-
exception
cfme.exceptions.ListAccordionLinkNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when active link containing specific text could not be found in expended
cfme.web_ui.listaccordioncontent section.
-
exception
cfme.exceptions.ManyEntitiesFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when one or no items were expected but several/many items were obtained instead.
-
exception
cfme.exceptions.MenuItemNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised during navigation of certain menu item was not found.
-
exception
cfme.exceptions.MiddlewareDatasourceNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Datasource cannot be found.
-
exception
cfme.exceptions.MiddlewareDeploymentNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Deployment cannot be found.
-
exception
cfme.exceptions.MiddlewareDomainNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Domain cannot be found.
-
exception
cfme.exceptions.MiddlewareMessagingNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Messaging cannot be found.
-
exception
cfme.exceptions.MiddlewareProviderNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Provider cannot be found.
-
exception
cfme.exceptions.MiddlewareServerGroupNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Server Group cannot be found.
-
exception
cfme.exceptions.MiddlewareServerNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Middleware Server cannot be found.
Bases:
cfme.exceptions.CFMEExceptionRaised when pytest_selenium.go_to function is unable to navigate to the requested page.
-
exception
cfme.exceptions.NoElementsInsideValue[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the value part of key/value contains no elements during
cfme.web_ui.InfoBlock.get_el_or_els().
-
exception
cfme.exceptions.NodeNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific container node cannot be found in the UI
-
exception
cfme.exceptions.NotAllCheckboxesFound(failed_selects)[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if not all the checkboxes could be found during e.g.
cfme.web_ui.CheckboxTable.select_rows()and other methods of this class.
-
exception
cfme.exceptions.NotAllItemsClicked(failed_clicks)[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if not all the items could be clicked during
cfme.web_ui.Table.click_cell().
-
exception
cfme.exceptions.OptionNotAvailable[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specified option is not available.
-
exception
cfme.exceptions.PaginatorException[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised by functions in
cfme.web_ui.paginator
-
exception
cfme.exceptions.ProviderHasNoKey[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the
cfme.cloud.provider.Provider.get_mgmt_system()method is called but the Provider instance has no key.
-
exception
cfme.exceptions.ProviderHasNoProperty[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the provider does not have the property requested whilst running
cfme.cloud.provider.Provider.do_stats_match().
-
exception
cfme.exceptions.RBACOperationBlocked[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when a Role Based Access Control operation is blocked from execution due to invalid permissions. Also thrown when trying to perform actions CRUD operations on roles/groups/users that are CFME defaults
-
exception
cfme.exceptions.RequestException[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a request was not found or multiple rows matched during _request functions in
cfme.services.requests
-
exception
cfme.exceptions.ResourcePoolNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific cloud key pair cannot be found in the UI
-
exception
cfme.exceptions.RoleNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when Deployment role not found
-
exception
cfme.exceptions.ScheduleNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a schedule was not found in
cfme.configure.configuration.Schedule.delete_by_name()
-
exception
cfme.exceptions.StackNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific stack cannot be found.
-
exception
cfme.exceptions.StorageManagerNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when a Storage Manager is not found
-
exception
cfme.exceptions.TemplateNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific Template cannot be found.
-
exception
cfme.exceptions.TenantNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific tenant cannot be found
Bases:
cfme.exceptions.CFMEExceptionRaised when toolbar wants to click item that is greyed or unavailable
-
exception
cfme.exceptions.TreeNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the tree used for
cfme.web_ui.Tree.expand_path()cannot be found
-
exception
cfme.exceptions.TreeTypeUnknown[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if the tree type is known whilst detection in
cfme.web_ui.Tree
-
exception
cfme.exceptions.UnidentifiableTagType[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a tag type is not identifiable when processing a form in
cfme.web_ui.Form.fill_fields().
-
exception
cfme.exceptions.UnknownProviderType[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when the passed provider or provider type is not known or usable in given context e.g. when getting a provider from yaml and the provider type doesn’t match any of known types or when an infra provider is passed to the cloud’s instance_factory method
Bases:
cfme.exceptions.CFMEExceptionRaised if the
cfme.web_ui.Tablesuspects there is a use of shared tables.
-
exception
cfme.exceptions.VmNotFound[source]¶ Bases:
cfme.exceptions.VmOrInstanceNotFoundRaised if a specific VM cannot be found.
-
exception
cfme.exceptions.VmNotFoundViaIP[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific VM cannot be found.
-
exception
cfme.exceptions.VolumeNotFoundError[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised if a specific cloud volume cannot be found in the UI
-
exception
cfme.exceptions.ZoneNotFound[source]¶ Bases:
cfme.exceptions.CFMEExceptionRaised when a specific Zone cannot be found in the method
cfme.configure.configuration.