Exemple #1
0
    def setUp(self):

        user = User.objects.create_user('DoctorMan', '*****@*****.**', '12345')
        Doctor.objects.create(user = user, first_name = "DoctorMans", mid_initial = "D", last_name = "Ok",
                              phone = "012-345-6789")
        client = Client()
        client.theUser = user
Exemple #2
0
    def setUp(self):

        user = User.objects.create_user('NurseMan', '*****@*****.**', '12345')
        Nurse.objects.create(user = user, first_name = "NurseMans", mid_initial = "N", last_name = "Cya",
                             phone = "456-123-7890")
        client = Client()
        client.theUser = user
Exemple #3
0
    def setUp(self):

        user = User.objects.create_user('AdminMan', '*****@*****.**', '12345')
        Administrator.objects.create(user = user, first_name = "AdminMans", mid_initial = "Z", last_name = "Something", 
                                     phone = "000-000-0000")
        client = Client()
        client.theUser = user
Exemple #4
0
    def setUp(self):

        user = User.objects.create_user('Bob', '*****@*****.**', 'bar')
        Patient.objects.create(user = user,
                               first_name = "Bob", mid_initial = "B", last_name = "Smith",
                               appt_num = "1", address = "111 Some", city = "Where", state = "NY",
                               zipcode = "12345", dob = "1111-11-1", phone = "1234567890",
                               ins_name = "Cool", ins_num = "123", ins_phone = "0987654321",
                               emerg_first_name = "Walter", emerg_last_name = "White",
                               emerg_phone = "5555555555")
        client = Client()
        client.theUser = user