'Create a form bound to self.form_data, assert its invalidity, and assert
that its error dictionary contains one entry with the expected field and
message'

def assert_error(self, expected_field, expected_message):

    form = self.get_form(expected_valid=False)
    self.assertEqual(form.errors, {expected_field: [expected_message]})
