#NEWLINE# def test_string_coverage( self ) : #NEWLINE# #INDENT# '\n        Ensure str(future) returns without error\n        ' #NEWLINE# cluster = Cluster ( protocol_version = PROTOCOL_VERSION ) #NEWLINE# session = cluster . connect ( ) #NEWLINE# query = 'SELECT * FROM system.local' #NEWLINE# statement = SimpleStatement ( query ) #NEWLINE# future = session . execute_async ( statement ) #NEWLINE# self . assertIn ( query , str ( future ) ) #NEWLINE# future . result ( ) #NEWLINE# self . assertIn ( query , str ( query ) ) #NEWLINE# self . assertIn ( 'result' , str ( future ) ) #NEWLINE# cluster . shutdown ( )