def test_user_forms_health_professional_crm_is_not_valid_MAX(self):
     form_data = {'name': self.name_valid,
                  'phone': self.phone_valid,
                  'email': self.email_valid,
                  'password': self.password_valid,
                  'confirm_password': self.password_valid,
                  'crm': self.crm_invalid_MAX,
                  'crm_state': self.crm_state_valid,
                  'sex': self.sex_valid,
                  'date_of_birth': self.date_of_birth_valid}
     form = HealthProfessionalForm(data=form_data)
     self.assertFalse(form.is_valid())
 def test_user_forms_health_professional_is_valid(self):
     form_data = {'name': self.name_valid,
                  'phone': self.phone_valid,
                  'email': self.email_valid,
                  'password': self.password_valid,
                  'confirm_password': self.password_valid,
                  'crm': self.crm_valid,
                  'specialty_first': self.speciality_valid,
                  'specialty_second': self.speciality_valid,
                  'crm_state': self.crm_state_valid,
                  'sex': self.sex_valid,
                  'date_of_birth': self.date_of_birth_valid}
     form = HealthProfessionalForm(data=form_data)
     self.assertTrue(form.is_valid())