(self, test_data)
| 33 | self.assert_files_match(temp_uncompressed, original) |
| 34 | |
| 35 | def _test_single_process(self, test_data): |
| 36 | # Write single-shot compression to temp file. |
| 37 | temp_compressed = _test_utils.get_temp_compressed_name(test_data) |
| 38 | with open(temp_compressed, 'wb') as out_file: |
| 39 | with open(test_data, 'rb') as in_file: |
| 40 | out_file.write(self.compressor.process(in_file.read())) |
| 41 | out_file.write(self.compressor.finish()) |
| 42 | self._check_decompression(test_data) |
| 43 | |
| 44 | def _test_multiple_process(self, test_data): |
| 45 | # Write chunked compression to temp file. |
nothing calls this directly
no test coverage detected