Exemple #1
0
 def step(self, *args, **kwargs):
     self.prerequisite_view.toolbar.view_selector.select('List View')
     try:
         row = self.prerequisite_view.paginator.find_row_on_pages(
             self.prerequisite_view.entities.table,
             name=self.obj.name,
             cloud_provider=self.obj.provider.name)
     except NoSuchElementException:
         raise FlavorNotFound(
             'Could not locate flavor "{}" on provider {}'.format(
                 self.obj.name, self.obj.provider.name))
     row.click()