#NEWLINE# def test_post_follow( self ) : #NEWLINE# #INDENT# url = self . reverse ( 'view-redirect' ) #NEWLINE# data = { #NEWLINE# #INDENT# 'testing' : True , #NEWLINE# #UNINDENT# } #NEWLINE# res = self . post ( url , data = data ) #NEWLINE# self . assertTrue ( res . status_code , 302 ) #NEWLINE# res = self . post ( url , data = data , follow = True ) #NEWLINE# self . assertTrue ( res . status_code , 200 )