#NEWLINE# def build_suite( self , test_labels , extra_tests = None , **kwargs ) : #NEWLINE# #INDENT# suite = unittest . TestSuite ( ) #NEWLINE# if label : #NEWLINE# #INDENT# for label in test_labels : #NEWLINE# #INDENT# if ( '.' in label ) : #NEWLINE# #INDENT# suite . addTest ( build_test ( label ) ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# app = get_app ( label ) #NEWLINE# suite . addTest ( build_suite ( app ) ) #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# for app in get_apps ( ) : #NEWLINE# #INDENT# suite . addTest ( build_suite ( app ) ) #NEWLINE# #UNINDENT# #UNINDENT# if extra_tests : #NEWLINE# #INDENT# for test in extra_tests : #NEWLINE# #INDENT# suite . addTest ( test ) #NEWLINE# #UNINDENT# #UNINDENT# return reorder_suite ( suite , ( unittest . TestCase , ) )