#NEWLINE# def test_transform_by_name( self ) : #NEWLINE# #INDENT# resource_config = { #NEWLINE# #INDENT# 'name' : '^cirros-0.3.4-uec$' , #NEWLINE# #UNINDENT# } #NEWLINE# ec2_image_id = types . EC2ImageResourceType . transform ( clients = self . clients , resource_config = resource_config ) #NEWLINE# self . assertEqual ( ec2_image_id , '200' )