Modify the `scanned_file` mapping for a file in scan results in place to make it easier to test.
(scanned_file, remove_file_date=False)
| 329 | |
| 330 | |
| 331 | def streamline_scanned_file(scanned_file, remove_file_date=False): |
| 332 | """ |
| 333 | Modify the `scanned_file` mapping for a file in scan results in place to |
| 334 | make it easier to test. |
| 335 | """ |
| 336 | streamline_errors(scanned_file.get('scan_errors', [])) |
| 337 | if remove_file_date: |
| 338 | scanned_file.pop('date', None) |
| 339 | |
| 340 | |
| 341 | def check_jsonlines_scan( |
no test coverage detected