Closed nathanclairmonte closed 5 months ago
Attention: Patch coverage is 92.30769%
with 9 lines
in your changes are missing coverage. Please review.
Project coverage is 71.51%. Comparing base (
e30b9c6
) to head (2cc2649
). Report is 14 commits behind head on main.
Files | Patch % | Lines |
---|---|---|
webapp/application.py | 85.18% | 4 Missing :warning: |
webapp/google_calendar.py | 50.00% | 4 Missing :warning: |
tests/test_google_calendar.py | 97.22% | 1 Missing :warning: |
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
add new interview deletion logic
Done
Added a new function
is_in_interview_calendar()
to the google calendar API class which takes a calendar event ID and checks if this event exists on the Interview Calendar or not.Updated previous deletion logic to only attempt deletion if the interview event is on the Interview Calendar. If it isn't we still run through the withdrawal process, we just don't attempt deletion.
Updated the interview canceled email template to indicate whether the interview was deleted or not.
Added tests for the deletion process as well as google calendar API class.
QA
Prep
SERVICE_ACCOUNT_EMAIL
andSERVICE_ACCOUNT_PRIVATE_KEY
to.env.local
(for Google Calendar API)Testing the auto-deletion flow
dotrun
https://harvest.greenhouse.io/v1/applications/{{application_id}}
endpoint on the Harvest API)/templates/application/withdrawal.html
template, which should have the email(s) that would've been sent to the interviewer(s).Issue / Card
Fixes #
Screenshots
[if relevant, include a screenshot]