def step(self): self.view.navigation.select(*automate_menu_name(self.obj.appliance) + ['Explorer'])
def step(self): self.view.navigation.select(*automate_menu_name(self.obj.appliance) + ['Customization'])
def in_explorer(self): return (self.logged_in_as_current_user and self.navigation.currently_selected == automate_menu_name(self.context['object'].appliance) + ['Explorer'])
def in_customization(self): expected_navigation = automate_menu_name(self.context['object'].appliance) expected_navigation.append('Customization') return ( self.logged_in_as_current_user and self.navigation.currently_selected == expected_navigation)
def in_customization(self): expected_navigation = automate_menu_name( self.context['object'].appliance) expected_navigation.append('Customization') return (self.logged_in_as_current_user and self.navigation.currently_selected == expected_navigation)
def in_explorer(self): return ( self.logged_in_as_current_user and self.navigation.currently_selected == automate_menu_name( self.context['object'].appliance) + ['Explorer'])