#NEWLINE# def test_required_argument( self ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# r = self . app_ . get ( '/' ) #NEWLINE# assert ( r . status_int != 200 ) #NEWLINE# #UNINDENT# except Exception as ex : #NEWLINE# #INDENT# assert ( type ( ex ) == TypeError ) #NEWLINE# assert ( r . args [ 0 ] in ( 'index() takes exactly 4 arguments (3 given)' , "index() missing 1 required positional argument: 'id'" ) )