#NEWLINE# def test_that_when_describing_domain_on_client_error_it_returns_error( self ) : #NEWLINE# #INDENT# '\n        Tests describing parameters failure\n        ' #NEWLINE# self . conn . describe_elasticsearch_domain_config . side_effect = ClientError ( error_content , 'list_domains' ) #NEWLINE# result = boto_elasticsearch_domain . describe ( DomainName = 'testdomain' , ** conn_parameters ) #NEWLINE# self . assertTrue ( ( 'error' in result ) )