def setUp(self):
     self.candidate = create_candidate_with_active_profile(
         test_user_data["candidate"]
     )
     self.department = create_department(test_user_data["department"])
     self.job = create_job(self.department, test_user_data["job_details"][0])
     self.profile = create_profile(test_user_data["candidate"]["profile"])
 def setUp(self):
     self.candidate = create_candidate_with_active_profile(
         test_user_data["candidate"]
     )
     self.department = create_department(test_user_data["department"])
     self.employer = create_employer(self.department, test_user_data["employer"])
     self.job = create_job(self.department, test_user_data["job_details"][0])
     self.profile = create_profile(test_user_data["candidate"]["profile"])
     self.app = create_application(self.job, self.candidate, self.profile)