Skip to content

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

test(cli): update size-limit assertion to match new error message

MihirPd7f79eac1e9f
diff --git a/test/services/test_cli.py b/test/services/test_cli.py
index 4ca246fc..ec7d4f03 100644
--- a/test/services/test_cli.py
+++ b/test/services/test_cli.py
@@ -990,7 +990,7 @@ class TestCli(unittest.TestCase):
with tempfile.TemporaryDirectory() as temp_dir:
oversized = Path(temp_dir) / "oversized.jsonl"
oversized.write_bytes(b"x" * (cli._BATCH_FILE_MAX_BYTES + 1))
- with self.assertRaisesRegex(ValueError, "byte limit"):
+ with self.assertRaisesRegex(ValueError, "1 MiB limit"):
cli._load_batch_manifest(str(oversized))
too_many = Path(temp_dir) / "too-many.json"