(test_item, limit=8*1024)
| 972 | |
| 973 | @staticmethod |
| 974 | def _get_comment(test_item, limit=8*1024): |
| 975 | msg = yatest_lib.tools.to_utf8(test_item.error) |
| 976 | if not msg: |
| 977 | return "" |
| 978 | |
| 979 | if len(msg) > limit: |
| 980 | msg = msg[:limit - 3] + "..." |
| 981 | |
| 982 | return msg + "[[rst]]" |
| 983 | |
| 984 | def _dump_trace(self, name, value): |
| 985 | event = { |
no test coverage detected