#NEWLINE# def test_en_redirect( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/account/register/' , HTTP_ACCEPT_LANGUAGE = 'en' ) #NEWLINE# self . assertRedirects ( self , '/en/account/register/' ) #NEWLINE# response = self . client . get ( response [ 'location' ] ) #NEWLINE# self . assertEqual ( response . status_code , 200 )