def assertErrorEqual(self, errors, title, description, rest_name="<STR_LIT>", index=<NUM_LIT:0>):
self.assertEquals(errors[index]["<STR_LIT>"][<NUM_LIT:0>]["<STR_LIT:title>"], title, "<STR_LIT>" % (title, errors[index]["<STR_LIT>"][<NUM_LIT:0>]["<STR_LIT:title>"]))<EOL>self.assertEquals(errors[index]["<STR_LIT>"][<NUM_LIT:0>]["<STR_LIT:description>"], description, "<STR_LIT>" % (description, errors[index]["<STR_LIT>"][<NUM_LIT:0>]["<STR_LIT:description>"]))<EOL>self.assertEquals(errors[index]["<STR_LIT>"], rest_name, "<STR_LIT>" % (rest_name, errors[index]["<STR_LIT>"]))<EOL>
Check if errors received matches