'Return a form bound to self.form_data, asserting its validity (or lack
thereof) according to expected_valid'

def get_form(self, expected_valid):

    form = self.FORM_CLASS(self.form_data, initial=getattr(self, 'initial', None))
    self.assertEqual(form.is_valid(), expected_valid)
    return form
