def setUp(self): super().setUp() self.patient = PatientFactory() self.doctor = DoctorFactory() self.appointment = AppointmentFactory(doctor=self.doctor, patient=self.patient) self.appointment_1 = AppointmentFactory(doctor=self.doctor, patient=self.patient)
def setUp(self): self.doctor = DoctorFactory()
def setUp(self): super().setUp() self.doctor_1 = DoctorFactory() self.doctor_2 = DoctorFactory() self.doctor_3 = DoctorFactory()
def setUp(self): self.doctor = DoctorFactory() self.patient = PatientFactory() self.appointment = AppointmentFactory(doctor=self.doctor, patient=self.patient) self.app_admin = AppointmentAdmin(Appointment, AdminSite())
def setUp(self) -> None: super().setUp() self.doctor = DoctorFactory() self.patient = PatientFactory()