#NEWLINE# def test_deleted_projects_excluded( self ) : #NEWLINE# #INDENT# project = ProjectFactory . build ( ) #NEWLINE# deleted = ProjectFactory ( is_deleted = True ) #NEWLINE# project . nodes . append ( deleted ) #NEWLINE# project . save ( ) #NEWLINE# result = find_nested_projects ( ) #NEWLINE# assert ( deleted not in result )