From 6572ad86208a157c80aa31313a596505b3648215 Mon Sep 17 00:00:00 2001 From: Hans Goudey Date: Sat, 4 Jun 2022 16:51:20 +0200 Subject: Cleanup: Use const, make format --- tests/python/modifiers.py | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'tests/python/modifiers.py') diff --git a/tests/python/modifiers.py b/tests/python/modifiers.py index 333633a4c4d..11d696c3bed 100644 --- a/tests/python/modifiers.py +++ b/tests/python/modifiers.py @@ -330,12 +330,16 @@ def main(): {"solver": 'FAST', "operation": 'DIFFERENCE', "operand_type": 'OBJECT', "object": bpy.data.objects["test" + boolean_basename + "Operand"]})])) boolean_basename = "CubeBooleanDiffBMeshCollection" - tests.append(SpecMeshTest("BooleandDiffBMeshCollection", "test" + boolean_basename, "expected" + boolean_basename, - [ModifierSpec("boolean", 'BOOLEAN', - {"solver": 'FAST', "operation": 'DIFFERENCE', "operand_type": 'COLLECTION', + tests.append(SpecMeshTest("BooleandDiffBMeshCollection", + "test" + boolean_basename, + "expected" + boolean_basename, + [ModifierSpec("boolean", + 'BOOLEAN', + {"solver": 'FAST', + "operation": 'DIFFERENCE', + "operand_type": 'COLLECTION', "collection": bpy.data.collections["test" + boolean_basename + "Operands"]})])) - modifiers_test = RunTest(tests) command = list(sys.argv) -- cgit v1.2.3