Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorHans Goudey <h.goudey@me.com>2022-06-04 17:51:20 +0300
committerHans Goudey <h.goudey@me.com>2022-06-04 17:51:20 +0300
commit6572ad86208a157c80aa31313a596505b3648215 (patch)
treee7c47e617afdbc5ea92dfd62e2f0268e58bbfc7a /tests
parenta5190dce9d08a4fdaddf82d592e50083e0713e19 (diff)
Cleanup: Use const, make format
Diffstat (limited to 'tests')
-rw-r--r--tests/python/modifiers.py12
1 files changed, 8 insertions, 4 deletions
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)