Fix: Tests: Geometry Nodes tests ignore threshold value

Base constructor ask test name as the third argument,
so threshold have to be named parameter in case test name is not mentioned

Pull Request: https://projects.blender.org/blender/blender/pulls/134300
This commit is contained in:
илья _
2025-04-04 11:52:16 +02:00
committed by Pratik Borhade
parent ea604b6b80
commit f3f9aaf4f7

View File

@@ -740,7 +740,7 @@ class BlendFileTest(MeshTest):
"""
def __init__(self, test_object_name, exp_object_name, threshold=None):
super().__init__(test_object_name, exp_object_name, threshold)
super().__init__(test_object_name, exp_object_name, threshold=threshold)
if bpy.data.objects[test_object_name].get("allow_index_change"):
self.allow_index_change = True