'Test that ``RegistrationForm`` subclasses can save'

def test_registration_form_subclass_is_valid(self):

    data = {u'new_field': u'custom    username', u'email': u'foo@example.com', u'password1': u'foo', u'password2': u'foo'}
    form = forms.RegistrationForm(data=data)
    self.assertTrue(form.is_valid())
