Commit 41fea2f
committed
tests: Make stream assertions robust to chunk splitting
When tty=True the output can be split across multiple stream chunks
instead of aligning on line boundaries, making exact chunk membership
checks unreliable.
Verify that the expected messages are present in the combined stream
output rather than at specific chunk boundaries.
Signed-off-by: Ricardo Branco <rbranco@suse.de>1 parent df3f8e2 commit 41fea2f
1 file changed
Lines changed: 6 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
290 | | - | |
291 | | - | |
292 | | - | |
293 | | - | |
294 | | - | |
295 | | - | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
296 | 292 | | |
297 | 293 | | |
298 | 294 | | |
| |||
304 | 300 | | |
305 | 301 | | |
306 | 302 | | |
307 | | - | |
308 | | - | |
309 | | - | |
310 | | - | |
311 | | - | |
312 | | - | |
313 | | - | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
0 commit comments