def patched_file_serialize(mocker):
    """Patches function that deserializes file contents to website content"""
    return mocker.patch(
        "content_sync.backends.github.deserialize_file_to_website_content"
    )