def setUpClass(cls): super(StudentProfessionValidation, cls).setUpClass() cls.applicant = data_model.get_or_create_applicant() cls.profession = data_model.get_or_create_profession(PROFESSION_EMPLOYEE, False)
def setUpClass(cls): super(NumberBrotherSistersValidation, cls).setUpClass() cls.applicant = data_model.get_or_create_applicant()
def setUpClass(cls): super(TestCleanProfessionBeforeSave, cls).setUpClass() cls.applicant = data_model.get_or_create_applicant() cls.profession = data_model.get_or_create_profession(PROFESSION_EMPLOYEE, False) cls.profession_adhoc = data_model.get_or_create_profession('Balayeur', True)
def setUpClass(cls): super(InitNotFoundAndOther, cls).setUpClass() cls.applicant = data_model.get_or_create_applicant() cls.profession = data_model.get_or_create_profession(PROFESSION_EMPLOYEE, False) cls.profession_adhoc = data_model.get_or_create_profession('Balayeur', True)