'Check that the form returns the expected data'

def assert_valid(self, expected_cleaned_data):

    form = self.get_form(expected_valid=True)
    self.assertDictEqual(form.cleaned_data, expected_cleaned_data)
