def in_import_export(self): from cfme.automate import automate_menu_name return ( self.logged_in_as_current_user and self.navigation.currently_selected == automate_menu_name( self.context['object'].appliance) + ['Import / Export'] and self.title.text == 'Import / Export')
def step(self): from cfme.automate import automate_menu_name self.prerequisite_view.navigation.select( *automate_menu_name(self.obj.appliance) + ['Import / Export'])
def is_displayed(self): from cfme.automate import automate_menu_name return ( self.logged_in_as_current_user and self.navigation.currently_selected == automate_menu_name( self.context['object'].appliance) + ['Simulation'])