#NEWLINE# def test_last_child_doesnt_delete_parent( self ) : #NEWLINE# #INDENT# Comment = comments . get_model ( ) #NEWLINE# comment = Comment . objects . get ( pk = 1 ) #NEWLINE# new_child_comment = Comment ( comment = 'Comment 9' , site_id = 1 , content_type_id = 7 , object_pk = 1 , parent_id = new_child_comment . id ) #NEWLINE# new_child_comment . save ( ) #NEWLINE# new_child_comment . delete ( ) #NEWLINE# comment = Comment . objects . get ( pk = 1 )