@@ -141,13 +141,15 @@ def test_scenario_7(page: Page) -> None:
141141 CallAndRecallUtils ().invite_subject_for_fobt_screening (nhs_no , user_role )
142142
143143 # Then my subject has been updated as follows:
144- criteria = {
145- "latest event status" : "S1 Selected for Screening" ,
146- "latest episode kit class" : "FIT" ,
147- "latest episode type" : "FOBT" ,
148- }
149144
150- subject_assertion (nhs_no , criteria )
145+ subject_assertion (
146+ nhs_no ,
147+ {
148+ "latest event status" : "S1 Selected for Screening" ,
149+ "latest episode kit class" : "FIT" ,
150+ "latest episode type" : "FOBT" ,
151+ },
152+ )
151153
152154 # Then there is a "S1" letter batch for my subject with the exact title "Pre-invitation (FIT)"
153155 # When I process the open "S1" letter batch for my subject
@@ -173,17 +175,18 @@ def test_scenario_7(page: Page) -> None:
173175 FitKitLogged ().log_fit_kits (page , fit_kit , sample_date )
174176
175177 # Then my subject has been updated as follows:
176- criteria = {
177- "latest event status" : "S43 Kit Returned and Logged (Initial Test)" ,
178- }
179- subject_assertion (nhs_no , criteria )
178+ subject_assertion (
179+ nhs_no ,
180+ {
181+ "latest event status" : "S43 Kit Returned and Logged (Initial Test)" ,
182+ },
183+ )
180184
181185 # When I read my subject's latest logged FIT kit as "SPOILT"
182186 FitKitLogged ().read_latest_logged_kit (user_role , 2 , fit_kit , "ABNORMAL" )
183187
184188 # Then my subject has been updated as follows:
185- criteria = {"latest event status" : "A8 Abnormal" }
186- subject_assertion (nhs_no , criteria )
189+ subject_assertion (nhs_no , {"latest event status" : "A8 Abnormal" })
187190
188191 # When I view the subject
189192 screening_subject_page_searcher .navigate_to_subject_summary_page (page , nhs_no )
0 commit comments