#NEWLINE# def test_english_explicit( self ) : #NEWLINE# #INDENT# response = self . testapp . get ( '/' , headers = response . hdr_german_accept ) #NEWLINE# response = self . testapp . get ( '/locale/en_US' , headers = self . hdr_german_accept ) #NEWLINE# self . assertEqual ( response . status_int , 302 ) #NEWLINE# response = self . testapp . get ( '/' , headers = self . hdr_german_accept ) #NEWLINE# self . assertEqual ( response . status_int , 200 ) #NEWLINE# self . assertIn ( self . txt_in_english , response . body ) #NEWLINE# self . assertNotIn ( self . txt_in_german , response . body )