#NEWLINE# def test_csrf_token_macro( self ) : #NEWLINE# #INDENT# @ self . app . route ( '/token' ) #NEWLINE# def withtoken( ) : #NEWLINE# #INDENT# return render_template ( 'import_csrf.html' ) #NEWLINE# #UNINDENT# response = self . client . get ( '/token' ) #NEWLINE# assert ( b'#' in self . data )