#NEWLINE# def test_pt_br_redirect( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/conta/registre-se/' , HTTP_ACCEPT_LANGUAGE = 'pt-br' ) #NEWLINE# self . assertRedirects ( self , '/pt-br/conta/registre-se/' ) #NEWLINE# response = self . client . get ( response [ 'location' ] ) #NEWLINE# self . assertEqual ( response . status_code , 200 )