Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

353 B
Raw Blame
from unittest.mock import patch

from app.services import llm


def test_generated_script_retains_narration_in_markdown_link_labels():
    response = "Visit [the museum](https://example.org/museum) today."
    with patch.object(llm, "_generate_response", return_value=response):
        assert llm.generate_script("museum") == "Visit the museum today."