File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -673,12 +673,12 @@ def schedule_a_valid_session(
673673 location : str ,
674674 programme_group : str ,
675675 for_today : bool = False ,
676- yesterday : bool = False ,
676+ past : bool = False ,
677677 ):
678- # scheduling a session for yesterday is a temporary measure for the rollover period
678+ # scheduling a session in the past is a temporary measure for the rollover period
679679 # this will be disallowed in the future
680- if yesterday :
681- offset_days = - 1
680+ if past :
681+ offset_days = - 7
682682 elif for_today :
683683 offset_days = 0
684684 else :
Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ def setup_mav_854(
9797 batch_name = add_vaccine_batch (Vaccine .GARDASIL_9 )
9898 dashboard_page .click_mavis ()
9999 dashboard_page .click_sessions ()
100- sessions_page .schedule_a_valid_session (school , Programme .HPV , yesterday = True )
100+ sessions_page .schedule_a_valid_session (school , Programme .HPV , past = True )
101101 sessions_page .click_import_class_lists ()
102102 import_records_page .import_class_list_for_current_year (
103103 ClassFileMapping .FIXED_CHILD , year_group
You can’t perform that action at this time.
0 commit comments