#NEWLINE# def test_nl_redirect( self ) : #NEWLINE# #INDENT# response = self . client . get ( '/profiel/registeren/' , HTTP_ACCEPT_LANGUAGE = 'nl' ) #NEWLINE# self . assertRedirects ( response , '/nl/profiel/registeren/' ) #NEWLINE# response = self . client . get ( response [ 'location' ] ) #NEWLINE# self . assertEqual ( response . status_code , 200 )