@@ -398,7 +398,7 @@ def runByScenarios(self, deal,
398398
399399 result = tz .valmap (lambda x :x ['Right' ] ,result )
400400
401- rawWarnMsgByScen = {k : _getWarningMsg (v [RunResp .LogResp .value ],showWarning ) for k , v in result .items ()}
401+ rawWarnMsgByScen = {k : self . _getWarningMsg (v [RunResp .LogResp .value ],showWarning ) for k , v in result .items ()}
402402 for scen , msgs in rawWarnMsgByScen .items ():
403403 if len (msgs )> 0 :
404404 console .print (f"Warning Message from server for { scen } :" + "\n " .join (msgs ))
@@ -576,7 +576,7 @@ def runByDealScenarios(self, deal,
576576
577577 result = tz .valmap (lambda x :x ['Right' ] ,result )
578578
579- rawWarnMsgByScen = {k : _getWarningMsg (v [RunResp .LogResp .value ],showWarning ) for k , v in result .items ()}
579+ rawWarnMsgByScen = {k : self . _getWarningMsg (v [RunResp .LogResp .value ],showWarning ) for k , v in result .items ()}
580580 for scen , msgs in rawWarnMsgByScen .items ():
581581 if len (msgs )> 0 :
582582 console .print (f"Warning Message from server for { scen } :" + "\n " .join (msgs ))
@@ -630,7 +630,7 @@ def runByCombo(self,
630630
631631 assert isinstance (result , dict ), f"Result should be a dict but got { type (result )} , { result } "
632632
633- rawWarnMsgByScen = {"^" .join (k ): _getWarningMsg (v [RunResp .LogResp .value ],showWarning ) for k , v in result .items ()}
633+ rawWarnMsgByScen = {"^" .join (k ): self . _getWarningMsg (v [RunResp .LogResp .value ],showWarning ) for k , v in result .items ()}
634634 for scen , msgs in rawWarnMsgByScen .items ():
635635 if len (msgs )> 0 :
636636 console .print (f"Warning Message from server for { scen } :" + "\n " .join (msgs ))
0 commit comments