Modify the `headers` list of mappings in place to make it easier to test.
(headers)
| 314 | |
| 315 | |
| 316 | def streamline_headers(headers): |
| 317 | """ |
| 318 | Modify the `headers` list of mappings in place to make it easier to test. |
| 319 | """ |
| 320 | for hle in headers: |
| 321 | hle.pop('tool_version', None) |
| 322 | remove_windows_extra_timeout(hle.get('options', {})) |
| 323 | hle.pop('start_timestamp', None) |
| 324 | hle.pop('end_timestamp', None) |
| 325 | hle.pop('duration', None) |
| 326 | header = hle.get('options', {}) |
| 327 | header.pop('--verbose', None) |
| 328 | streamline_errors(hle['errors']) |
| 329 | |
| 330 | |
| 331 | def streamline_scanned_file(scanned_file, remove_file_date=False): |
no test coverage detected