#NEWLINE# def test_action_show_not_found( self ) : #NEWLINE# #INDENT# arglist = [ 'my_action' ] #NEWLINE# parsed_args = self . check_parser ( self . cmd , arglist , [ ] ) #NEWLINE# self . mock_client . get_action . side_effect = sdk_exc . ResourceNotFound ( ) #NEWLINE# error = self . assertRaises ( exc . CommandError , self . cmd . take_action , parsed_args ) #NEWLINE# self . assertEqual ( 'Action not found: my_action' , str ( error ) )