Fix drawing test after be657748f

This commit is contained in:
Andrej730
2025-05-09 15:18:00 +05:00
parent 82a19cee7b
commit 5aa5552759
+1 -1
View File
@@ -55,7 +55,7 @@ class TestCreateAnnotationObject(NewFile):
class TestCreateCamera(NewFile):
def test_run(self):
obj = subject.create_camera("Name", mathutils.Matrix(), "PERSPECTIVE")
obj = subject.create_camera("Name", mathutils.Matrix(), "PERSPECTIVE", "PLAN_VIEW")
assert obj.name == "Name"
assert obj.matrix_world == mathutils.Matrix()
assert isinstance(obj.data, bpy.types.Camera)