#NEWLINE# def test_async_request_unsuccessful( self ) : #NEWLINE# #INDENT# self . driver . path = '/async/fail' #NEWLINE# try : #NEWLINE# #INDENT# self . connection . _async_request ( 'fake' ) #NEWLINE# #UNINDENT# except Exception : #NEWLINE# #INDENT# e = sys . exc_info ( ) [ 1 ] #NEWLINE# self . assertEqual ( CloudStackMockHttp . ERROR_TEXT , str ( e ) ) #NEWLINE# return #NEWLINE# #UNINDENT# self . assertFalse ( True )