#NEWLINE# def test_zero_root_gb_disables_check( self ) : #NEWLINE# #INDENT# with mock . patch . object ( self . instance , 'get_flavor' ) as get : #NEWLINE# #INDENT# self . flavor . root_gb = 0 #NEWLINE# get . return_value = self . flavor #NEWLINE# vm_utils . _check_vdi_size ( self . context , self . session , self . instance , self . vdi_uuid )