File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed
Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -282,10 +282,14 @@ def reportable(platform_to_test=None):
282282 covered_suites .append (str (run_ .get ("suite_id" )))
283283
284284 if not covered_suites :
285- print ("No coverage found for this platform, running tests and report..." )
285+ logging .warning (
286+ "No coverage found for this platform, running tests and report..."
287+ )
286288 return True
287289 else :
288- print (f"Suite coverage found for Suite IDs: { ', ' .join (covered_suites )} " )
290+ logging .warning (
291+ f"Suite coverage found for Suite IDs: { ', ' .join (covered_suites )} "
292+ )
289293
290294 if not os .environ .get ("STARFOX_SPLIT" ):
291295 sys .exit ("No split selected" )
@@ -300,8 +304,8 @@ def reportable(platform_to_test=None):
300304 for suite in tr_session .get_suites (TESTRAIL_FX_DESK_PRJ ):
301305 if str (suite .get ("id" )) in uncovered_suites :
302306 suite_names .append (suite .get ("name" ))
303- print ("Coverage not found for the following suites:" )
304- print ("\t -" + "\n \t -" .join (suite_names ))
307+ logging . warning ("Coverage not found for the following suites:" )
308+ logging . warning ("\t -" + "\n \t -" .join (suite_names ))
305309 else :
306310 logging .warning ("All suites covered, not reporting." )
307311 return not uncovered_suites
You can’t perform that action at this time.
0 commit comments