#NEWLINE# def test_action_with_nonexistent_group( self ) : #NEWLINE# #INDENT# ' action with non-existent group ' #NEWLINE# action_sets = [ ActionSet ( actions = [ Action ( class_name = 'Exit' , path = 'MenuBar/File' , group = 'Bogus' ) ] ) ] #NEWLINE# builder = DummyActionManagerBuilder ( action_sets = action_sets ) #NEWLINE# self . failUnlessRaises ( ValueError , action_sets . create_menu_bar_manager , 'MenuBar' ) #NEWLINE# return