#NEWLINE# def main( argv ) : #NEWLINE# #INDENT# args = _ParseArgs ( argv ) #NEWLINE# file_pattern = ( '*_test.py' if ( not args . test_file ) else args . test_file ) #NEWLINE# suite = unittest2 . loader . TestLoader ( ) . discover ( start_dir = os . path . join ( os . path . dirname ( __file__ ) , 'tests' ) , pattern = show_test_names ) #NEWLINE# show_test_names = ( 2 if args . verbose else 1 ) #NEWLINE# unittest2 . TextTestRunner ( verbosity = show_test_names ) . run ( suite )