@@ -248,7 +248,7 @@ def reportable(platform_to_test=None):
248248
249249 plan_entries = this_plan .get ("entries" )
250250 if os .environ .get ("FX_L10N" ):
251- logging .warning ("Getting reportability for L10n..." )
251+ logging .warning (f "Getting reportability for L10n in { platform } ..." )
252252 beta_version = int (minor_num .split ("b" )[- 1 ])
253253 distributed_mappings = select_l10n_mappings (beta_version )
254254 expected_mappings = sum (map (lambda x : len (x ), distributed_mappings .values ()))
@@ -274,7 +274,7 @@ def reportable(platform_to_test=None):
274274 # Only report when there is a new beta without a reported plan or if the selected split is not completely reported.
275275 return covered_mappings < expected_mappings
276276 else :
277- logging .warning ("Getting reportability for STARfox..." )
277+ logging .warning (f "Getting reportability for STARfox in { platform } ..." )
278278 covered_suites = []
279279 for entry in plan_entries :
280280 for run_ in entry .get ("runs" ):
@@ -298,7 +298,7 @@ def reportable(platform_to_test=None):
298298 os .environ ["STARFOX_SPLIT" ], suite_numbers = True
299299 )
300300
301- uncovered_suites = set (expected_suites ) - set (covered_suites )
301+ uncovered_suites = list ( set (expected_suites ) - set (covered_suites ) )
302302 if len (uncovered_suites ):
303303 suite_names = []
304304 for suite in tr_session .get_suites (TESTRAIL_FX_DESK_PRJ ):
@@ -308,7 +308,7 @@ def reportable(platform_to_test=None):
308308 logging .warning ("\t -" + "\n \t -" .join (suite_names ))
309309 else :
310310 logging .warning ("All suites covered, not reporting." )
311- return not uncovered_suites
311+ return bool ( uncovered_suites )
312312
313313
314314def testrail_init () -> TestRail :
0 commit comments