Skip to content

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

test(api): use portable filename cases

harry0703e6e736ad92b2
diff --git a/test/services/test_controller_video.py b/test/services/test_controller_video.py
index 10f41b30..e103bee0 100644
--- a/test/services/test_controller_video.py
+++ b/test/services/test_controller_video.py
@@ -557,8 +557,8 @@ class TestVideoControllerFiles(unittest.TestCase):
"%E8%A7%86%E9%A2%91.mp4",
),
(
- 'name="draft";v1\\test.mp4',
- "attachment; filename*=utf-8''name%3D%22draft%22%3Bv1%5Ctest.mp4",
+ "name=draft;v1(test).mp4",
+ "attachment; filename*=utf-8''name%3Ddraft%3Bv1%28test%29.mp4",
),
)