#NEWLINE# def test_reject_entries_no_date( self ) : #NEWLINE# #INDENT# '\n        If you are missing the month/year used to filter the entries\n        then the reject page should not show\n        ' #NEWLINE# self . login_user ( self . superuser ) #NEWLINE# self . create_entries ( timezone . now ( ) , Entry . VERIFIED ) #NEWLINE# data = { #NEWLINE# #INDENT# 'month' : self . now . month , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . client . get ( self . url , data = response ) #NEWLINE# self . assertEqual ( response . status_code , 302 ) #NEWLINE# data = { #NEWLINE# #INDENT# 'year' : self . now . year , #NEWLINE# #UNINDENT# } #NEWLINE# response = self . client . get ( self . url , data = data ) #NEWLINE# self . assertEqual ( response . status_code , 302 )