#NEWLINE# def test_add_approved_entries( self ) : #NEWLINE# #INDENT# '\n        If your entries have been verified and then approved, you should\n        not be able to add entries for that time period\n        ' #NEWLINE# entry = factories . Entry ( ** { #NEWLINE# #INDENT# 'user' : self . user , #NEWLINE# 'start_time' : self . ten_min_ago , #NEWLINE# 'end_time' : ( self . ten_min_ago + relativedelta ( minutes = 1 ) ) , #NEWLINE# #UNINDENT# } ) #NEWLINE# entry . status = Entry . INVOICED #NEWLINE# entry . save ( ) #NEWLINE# self . add_entry_test_helper ( )