from unittest.mock import call


def make_expected_calls(example_count, clean_file_count, total_file_count, lines):
    """Make a list of calls expected to be made by the report function."""
    return [
        call(f"Total number of examples: {example_count}.\n"),
        call(f"Total number of cleaned files: {clean_file_count}.\n"),
        call(f"Total number of files: {total_file_count}.\n"),
        call(f"Percent clean: {clean_file_count/total_file_count:.0%}."),
        call("\n"),
        call(
            "File,Language,Service\n" + "\n".join(lines))
    ]