#NEWLINE# @ run_with_all_backends #NEWLINE# def test_full_delete( self ) : #NEWLINE# #INDENT# test_loc = make_loc ( 'test_loc' , type = 'state' , parent = self . user . location ) #NEWLINE# test_loc . save ( ) #NEWLINE# original_count = len ( list ( Location . by_domain ( self . domain . name ) ) ) #NEWLINE# loc = self . user . location #NEWLINE# loc . full_delete ( ) #NEWLINE# self . assertEqual ( len ( list ( Location . by_domain ( self . domain . name ) ) ) , ( original_count - 2 ) ) #NEWLINE# self . assertEqual ( len ( Location . root_locations ( self . domain . name ) ) , 0 ) #NEWLINE# self . assertEqual ( len ( SQLLocation . objects . all ( ) ) , 0 )