def METHOD_NAME(
    tmp_path: Path, faker: Faker
):
    task_output_schema = TaskOutputDataSchema.parse_obj(
        {
            "required_file_output": {
                "required": True,
                "url": "s3://some_file_url",
                "mapping": "the_output_filename",
            },
        }
    )
    with pytest.raises(ValueError):
        TaskOutputData.from_task_output(
            schema=task_output_schema,
            output_folder=tmp_path,
            output_file_ext=faker.file_name(),
        )