#NEWLINE# def test_user_cannot_edit_invoiced_entry( self ) : #NEWLINE# #INDENT# 'User should not be able to edit an invoiced entry' #NEWLINE# ( url , entry , data ) = self . edit_entry_helper ( Entry . INVOICED ) #NEWLINE# response = self . client . post ( url , data = data , follow = True ) #NEWLINE# self . assertEqual ( response . status_code , 404 )