#NEWLINE# def _find_tests_in_directory( self , directory , suite ) : #NEWLINE# #INDENT# 'Find test files in the directory and add them to the suite.' #NEWLINE# for ( dirpath , dirnames , filenames ) in os . walk ( directory ) : #NEWLINE# #INDENT# for filename in filenames : #NEWLINE# #INDENT# filepath = os . path . join ( dirpath , filename ) #NEWLINE# suite . addTest ( self . load_suite_from_file ( filepath ) )