#NEWLINE# @ mock_route53 #NEWLINE# def test_rrset_with_multiple_values( ) : #NEWLINE# #INDENT# conn = boto . connect_route53 ( 'the_key' , 'the_secret' ) #NEWLINE# zone = conn . create_hosted_zone ( 'testdns.aws.com' ) #NEWLINE# zoneid = zone [ 'CreateHostedZoneResponse' ] [ 'HostedZone' ] [ 'Id' ] . split ( '/' ) [ ( - 1 ) ] #NEWLINE# changes = ResourceRecordSets ( conn , zoneid ) #NEWLINE# change = changes . add_change ( 'CREATE' , 'foo.bar.testdns.aws.com' , 'A' ) #NEWLINE# change . add_value ( '1.2.3.4' ) #NEWLINE# change . add_value ( '5.6.7.8' ) #NEWLINE# changes . commit ( ) #NEWLINE# rrsets = conn . get_all_rrsets ( zone , type = 'A' ) #NEWLINE# rrsets . should . have . length_of ( 1 ) #NEWLINE# set ( rrsets [ 0 ] . resource_records ) . should . equal ( set ( [ '1.2.3.4' , '5.6.7.8' ] ) )