#NEWLINE# def test_transform_by_name( self ) : #NEWLINE# #INDENT# resource_config = { #NEWLINE# #INDENT# 'name' : 'm1.nano' , #NEWLINE# #UNINDENT# } #NEWLINE# flavor_name = types . EC2Flavor . transform ( clients = self . clients , resource_config = resource_config ) #NEWLINE# self . assertEqual ( flavor_name , 'm1.nano' )