tmp_path: Create a Temporary Directory for Testing
tmp_path: Create a Temporary Directory for Testing
Use the tmp_path fixture in pytest to create a temporary directory for testing the function that interacts with files. This will prevent any changes to the actual filesystem or production files.