#NEWLINE# def test_clocking_out_inactive( self ) : #NEWLINE# #INDENT# data = { #NEWLINE# #INDENT# 'start_time_0' : self . entry . start_time . strftime ( '%m/%d/%Y' ) , #NEWLINE# 'start_time_1' : self . entry . start_time . strftime ( '%H:%M:%S' ) , #NEWLINE# 'end_time_0' : self . default_end_time . strftime ( '%m/%d/%Y' ) , #NEWLINE# 'end_time_1' : self . default_end_time . strftime ( '%H:%M:%S' ) , #NEWLINE# 'location' : self . location . pk , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . client . post ( self . url , data , follow = True ) #NEWLINE# response = self . client . post ( self . url , data , follow = False ) #NEWLINE# self . assertRedirects ( self , reverse ( 'dashboard' ) , status_code = 302 , target_status_code = 200 )