'Test that ``RegistrationForm`` adds custom username
field and does not raise errors'

def test_registration_form_adds_custom_user_name_field(self):

    form = forms.RegistrationForm()
    self.assertTrue((UsernameField() in form.fields))
