#NEWLINE# def test_find_nested( self ) : #NEWLINE# #INDENT# project = ProjectFactory . build ( ) #NEWLINE# nested_project = ProjectFactory ( ) #NEWLINE# project . nodes . append ( nested_project ) #NEWLINE# project . save ( ) #NEWLINE# result = find_nested_projects ( ) #NEWLINE# assert ( nested_project in result ) #NEWLINE# assert ( project not in result )