#NEWLINE# def test_host_resolution( self ) : #NEWLINE# #INDENT# '\n        Test to insure A records are resolved appropriately.\n\n        @since 3.3\n        @jira_ticket PYTHON-415\n        @expected_result hostname will be transformed into IP\n\n        @test_category connection\n        ' #NEWLINE# cluster = Cluster ( contact_points = [ 'localhost' ] , protocol_version = PROTOCOL_VERSION , connect_timeout = 1 ) #NEWLINE# self . assertTrue ( ( '127.0.0.1' in self . contact_points_resolved ) )