def assertFormError(self, response, error):
form_errors = list(itertools.chain(*response.context['<STR_LIT>'].errors.values()))<EOL>self.assertIn(str(error), form_errors)<EOL>
Assert that error is found in response.context['form'] errors