(files, original, new)
| 131 | |
| 132 | |
| 133 | def _replace_line_separators(files, original, new): |
| 134 | for file in files: |
| 135 | content = file_utils.read_file(file, byte_content=True) |
| 136 | replaced_content = content.decode('utf-8').replace(original, new).encode('utf-8') |
| 137 | file_utils.write_file(file, replaced_content, byte_content=True) |
| 138 | |
| 139 | |
| 140 | class TestLoggingService(unittest.TestCase): |
no outgoing calls
no test coverage detected