Files
slic/functions/io_utils.py
yasmine_tligui 47508f32fc
Run Pytest with Allure and Coverage Reports / tests (push) Successful in 37s
Functions files
2025-07-14 11:47:35 +02:00

11 lines
272 B
Python

def read_file(path):
with open(path, "r", encoding="utf-8") as f:
return f.read()
def write_file(path, content):
with open(path, "w", encoding="utf-8") as f:
f.write(content)
def cause_io_error():
raise IOError("Forced IO Error for testing")