示例#1
0
 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)
示例#2
0
 def setUp(self):
     self.doctor = DoctorFactory()
示例#3
0
 def setUp(self):
     super().setUp()
     self.doctor_1 = DoctorFactory()
     self.doctor_2 = DoctorFactory()
     self.doctor_3 = DoctorFactory()
示例#4
0
 def setUp(self):
     self.doctor = DoctorFactory()
     self.patient = PatientFactory()
     self.appointment = AppointmentFactory(doctor=self.doctor,
                                           patient=self.patient)
     self.app_admin = AppointmentAdmin(Appointment, AdminSite())
示例#5
0
 def setUp(self) -> None:
     super().setUp()
     self.doctor = DoctorFactory()
     self.patient = PatientFactory()