#NEWLINE# def runtests( * test_args ) : #NEWLINE# #INDENT# if ( not test_args ) : #NEWLINE# #INDENT# test_args = [ 'tests' ] #NEWLINE# #UNINDENT# parent = os . path . join ( os . path . dirname ( os . path . abspath ( __file__ ) ) , '..' , '..' ) #NEWLINE# sys . path . insert ( 0 , parent ) #NEWLINE# runner = DjangoTestSuiteRunner ( ) #NEWLINE# failures = runner . run_tests ( test_args , verbosity = 1 , interactive = True ) #NEWLINE# sys . exit ( failures )