mirror of
https://github.com/UofCBaja/Interview-Backend.git
synced 2025-07-06 11:17:15 -06:00
Fixed the code for date which caused issues, create a new file to ensure WriteDB and SendEmail work from any script
This commit is contained in:
11
TestBookAppointment.py
Normal file
11
TestBookAppointment.py
Normal file
@ -0,0 +1,11 @@
|
||||
from WriteDB import AppendAppointment
|
||||
|
||||
def TestBookAppointment():
|
||||
date_1 = "2024-09-16"
|
||||
start_time_1 = "10:30:00"
|
||||
interviewee_name_1 = "Alice Johnson"
|
||||
interviewee_email_1 = "ahmadmuhammadofficial@gmail.com"
|
||||
print(f"\nTest Case 1: Trying to book {date_1} at {start_time_1} for {interviewee_name_1} ({interviewee_email_1})")
|
||||
AppendAppointment(date_1, start_time_1, interviewee_name_1, interviewee_email_1)
|
||||
|
||||
TestBookAppointment()
|
Reference in New Issue
Block a user