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:
2024-11-30 13:37:30 -07:00
parent bcdaa37d97
commit 6ff802f604
6 changed files with 19 additions and 6 deletions

11
TestBookAppointment.py Normal file
View 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()