コード例 #1
0
ファイル: test_brick.py プロジェクト: Krande/IfcOpenShell
 def test_run(self):
     subject.set_active_brick_class("brick_class")
     subject.add_brick_breadcrumb()
     assert bpy.context.scene.BIMBrickProperties.brick_breadcrumbs[
         0].name == "brick_class"
     subject.add_brick_breadcrumb()
     assert bpy.context.scene.BIMBrickProperties.brick_breadcrumbs[
         1].name == "brick_class"
コード例 #2
0
ファイル: test_brick.py プロジェクト: Krande/IfcOpenShell
 def test_run(self):
     subject.set_active_brick_class("brick_class")
     assert bpy.context.scene.BIMBrickProperties.active_brick_class == "brick_class"
コード例 #3
0
ファイル: test_brick.py プロジェクト: Krande/IfcOpenShell
 def test_run(self):
     subject.set_active_brick_class("brick_class")
     assert subject.get_active_brick_class() == "brick_class"