mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-11 06:18:09 +00:00
typing
This commit is contained in:
@@ -52,9 +52,10 @@ class TestChangeObjectData(NewFile):
|
||||
class TestDisableEditing(NewFile):
|
||||
def test_run(self):
|
||||
obj = bpy.data.objects.new("Object", None)
|
||||
obj.BIMTypeProperties.is_editing_type = True
|
||||
props = tool.Type.get_object_type_props(obj)
|
||||
props.is_editing_type = True
|
||||
subject.disable_editing(obj)
|
||||
assert obj.BIMTypeProperties.is_editing_type is False
|
||||
assert props.is_editing_type is False
|
||||
|
||||
|
||||
class TestGetBodyContext(NewFile):
|
||||
|
||||
Reference in New Issue
Block a user