#NEWLINE# def test_before_serve_hook( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/events/' , HTTP_USER_AGENT = 'GoogleBot' ) #NEWLINE# self . assertContains ( self , 'bad googlebot no cookie' )