From 8a6816ed3edda7029c592ad35d24f4df2096aa78 Mon Sep 17 00:00:00 2001 From: soul Date: Mon, 19 Oct 2026 00:25:31 +0200 Subject: [PATCH] test_ship_cc: a product body one short of the Manufacturer slot is refused, not an IndexError Kills mutant short-body-reads-past-end. Co-Authored-By: Claude Sonnet 5.5 --- tools/blender/tests/test_ship_cc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/blender/tests/test_ship_cc.py b/tools/blender/tests/test_ship_cc.py index 403d32854..aae9e135b 100644 --- a/tools/blender/tests/test_ship_cc.py +++ b/tools/blender/tests/test_ship_cc.py @@ -237,7 +237,8 @@ class ProductMakerTests(ShipFileCase): def test_a_product_with_no_manufacturer_is_refused_naming_no_input(self): canary = "canary-product-name" - for body in ([None, canary, "Reliable."], [None, canary, None, None, None], [None, canary, None, None, ""], + for body in ([None, canary, "Reliable."], [None, canary, None, None], [None, canary, None, None, None], + [None, canary, None, None, ""], [None, canary, None, None, 7]): with self.subTest(body=body): self.setUp()