#NEWLINE# def test_transform_by_regex( self ) : #NEWLINE# #INDENT# resource_config = { #NEWLINE# #INDENT# 'regex' : '^lvm.*-1' , #NEWLINE# #UNINDENT# } #NEWLINE# volumetype_id = types . VolumeType . transform ( clients = self . clients , resource_config = self ) #NEWLINE# self . assertEqual ( volumetype_id , 100 )