File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 5151MESH_AGENT_ERROR_KEYWORDS = ["[ERRO]" ]
5252RX_TX_APP_ERROR_KEYWORDS = ["[ERRO]" ]
5353
54+ DEFAULT_REMOTE_PORT = 20000
5455DEFAULT_MPG_URN = f"ipv4:224.0.0.1:{ DEFAULT_REMOTE_PORT } "
5556DEFAULT_REMOTE_IP_ADDR = "239.2.39.238"
56- DEFAULT_REMOTE_PORT = 20000
5757DEFAULT_PACING = "narrow"
5858DEFAULT_PAYLOAD_TYPE_ST2110_20 = 112
5959DEFAULT_PAYLOAD_TYPE_ST2110_30 = 111
Original file line number Diff line number Diff line change @@ -242,7 +242,14 @@ def check_phrases_anywhere(
242242 lines = content .split ("\n " )
243243
244244 for phrase in phrases :
245- if phrase not in content :
245+ # Check if the phrase is contained in any line, not just the entire content
246+ phrase_found = False
247+ for line in lines :
248+ if phrase in line :
249+ phrase_found = True
250+ break
251+
252+ if not phrase_found :
246253 missing_phrases .append (phrase )
247254 # Find where the phrase should have appeared
248255 # Just give some context from the end of the log
You can’t perform that action at this time.
0 commit comments