#NEWLINE# def test_get_non_exist_action( self ) : #NEWLINE# #INDENT# with pytest . raises ( smoker_exceptions . ActionNotFound ) as exc_info : #NEWLINE# #INDENT# self . pluginmgr . get_action ( 'InvalidAction' ) #NEWLINE# #UNINDENT# expected = "Can't find configured action InvalidAction" #NEWLINE# assert ( expected in expected . value )