Skip to content

Commit edb91a3

Browse files
committed
feature : check stderr
1 parent 920335f commit edb91a3

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

tests/sample_report.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,14 @@
7171
"message": ";D ;P ;) :) 8)"
7272
}
7373
],
74-
"longrepr": "longrepr200 ;D ;P :) 8) ;)"
74+
"longrepr": "longrepr200 ;D ;P :) 8) ;)",
75+
"stderr": "stderr200 ? ?? ???"
7576
},
7677
"teardown": {
7778
"duration": "8) ;P :) ;D ;)",
7879
"outcome": ";P ;D 8) :) ;)",
79-
"longrepr": "longrepr210 ;) :) ;D ;P 8)"
80+
"longrepr": "longrepr210 ;) :) ;D ;P 8)",
81+
"stderr": "stderr210 ? ?? ???"
8082
}
8183
},
8284
{

tests/test_ai_tutor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -640,6 +640,8 @@ def test__collect_longrepr__compare_contents(collect_longrepr_result:List[str]):
640640
markers += 'longrepr1100 longrepr1110 longrepr1120'.split()
641641
markers += 'longrepr1200 longrepr1210 longrepr1220'.split()
642642

643+
markers += 'stderr200 stderr210'.split()
644+
643645
for s in collect_longrepr_result:
644646
for marker in markers:
645647
if marker in s:

0 commit comments

Comments
 (0)