#NEWLINE# def testGetStorageUnitsLvm( self ) : #NEWLINE# #INDENT# disk_templates = [ constants . DT_PLAIN , constants . DT_DRBD8 ] #NEWLINE# storage_units = storage . GetStorageUnits ( self . _cfg , self ) #NEWLINE# self . assertEqual ( len ( storage_units ) , len ( disk_templates ) )