Skip to content

Commit d7f79ea

Browse files
Mihir7027claude
andcommitted
test(cli): update size-limit assertion to match new error message
The batch manifest size error now reads "1 MiB limit" instead of the raw byte count. Update the regex in assertRaisesRegex accordingly so the test stays green. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b610aaa commit d7f79ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/services/test_cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -990,7 +990,7 @@ def test_batch_manifest_limits_size_and_task_count(self):
990990
with tempfile.TemporaryDirectory() as temp_dir:
991991
oversized = Path(temp_dir) / "oversized.jsonl"
992992
oversized.write_bytes(b"x" * (cli._BATCH_FILE_MAX_BYTES + 1))
993-
with self.assertRaisesRegex(ValueError, "byte limit"):
993+
with self.assertRaisesRegex(ValueError, "1 MiB limit"):
994994
cli._load_batch_manifest(str(oversized))
995995

996996
too_many = Path(temp_dir) / "too-many.json"

0 commit comments

Comments
 (0)