mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 21:53:40 +00:00
bonsai core module imports #5178
This commit is contained in:
@@ -19,224 +19,224 @@
|
||||
import sys
|
||||
import json
|
||||
import pytest
|
||||
import blenderbim.core.tool
|
||||
import bonsai.core.tool
|
||||
from typing import Any, Optional
|
||||
from typing_extensions import Self
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def ifc():
|
||||
prophet = Prophecy(blenderbim.core.tool.Ifc)
|
||||
prophet = Prophecy(bonsai.core.tool.Ifc)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def blender():
|
||||
prophet = Prophecy(blenderbim.core.tool.Blender)
|
||||
prophet = Prophecy(bonsai.core.tool.Blender)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def brick():
|
||||
prophet = Prophecy(blenderbim.core.tool.Brick)
|
||||
prophet = Prophecy(bonsai.core.tool.Brick)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def aggregate():
|
||||
prophet = Prophecy(blenderbim.core.tool.Aggregate)
|
||||
prophet = Prophecy(bonsai.core.tool.Aggregate)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def collector():
|
||||
prophet = Prophecy(blenderbim.core.tool.Collector)
|
||||
prophet = Prophecy(bonsai.core.tool.Collector)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def context():
|
||||
prophet = Prophecy(blenderbim.core.tool.Context)
|
||||
prophet = Prophecy(bonsai.core.tool.Context)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def debug():
|
||||
prophet = Prophecy(blenderbim.core.tool.Debug)
|
||||
prophet = Prophecy(bonsai.core.tool.Debug)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def demo():
|
||||
prophet = Prophecy(blenderbim.core.tool.Demo)
|
||||
prophet = Prophecy(bonsai.core.tool.Demo)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def document():
|
||||
prophet = Prophecy(blenderbim.core.tool.Document)
|
||||
prophet = Prophecy(bonsai.core.tool.Document)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def drawing():
|
||||
prophet = Prophecy(blenderbim.core.tool.Drawing)
|
||||
prophet = Prophecy(bonsai.core.tool.Drawing)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def geometry():
|
||||
prophet = Prophecy(blenderbim.core.tool.Geometry)
|
||||
prophet = Prophecy(bonsai.core.tool.Geometry)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def georeference():
|
||||
prophet = Prophecy(blenderbim.core.tool.Georeference)
|
||||
prophet = Prophecy(bonsai.core.tool.Georeference)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def library():
|
||||
prophet = Prophecy(blenderbim.core.tool.Library)
|
||||
prophet = Prophecy(bonsai.core.tool.Library)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def material():
|
||||
prophet = Prophecy(blenderbim.core.tool.Material)
|
||||
prophet = Prophecy(bonsai.core.tool.Material)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def misc():
|
||||
prophet = Prophecy(blenderbim.core.tool.Misc)
|
||||
prophet = Prophecy(bonsai.core.tool.Misc)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def nest():
|
||||
prophet = Prophecy(blenderbim.core.tool.Nest)
|
||||
prophet = Prophecy(bonsai.core.tool.Nest)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def owner():
|
||||
prophet = Prophecy(blenderbim.core.tool.Owner)
|
||||
prophet = Prophecy(bonsai.core.tool.Owner)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def patch():
|
||||
prophet = Prophecy(blenderbim.core.tool.Patch)
|
||||
prophet = Prophecy(bonsai.core.tool.Patch)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def project():
|
||||
prophet = Prophecy(blenderbim.core.tool.Project)
|
||||
prophet = Prophecy(bonsai.core.tool.Project)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def pset():
|
||||
prophet = Prophecy(blenderbim.core.tool.Pset)
|
||||
prophet = Prophecy(bonsai.core.tool.Pset)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def qto():
|
||||
prophet = Prophecy(blenderbim.core.tool.Qto)
|
||||
prophet = Prophecy(bonsai.core.tool.Qto)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def root():
|
||||
prophet = Prophecy(blenderbim.core.tool.Root)
|
||||
prophet = Prophecy(bonsai.core.tool.Root)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def selector():
|
||||
prophet = Prophecy(blenderbim.core.tool.Selector)
|
||||
prophet = Prophecy(bonsai.core.tool.Selector)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def sequence():
|
||||
prophet = Prophecy(blenderbim.core.tool.Sequence)
|
||||
prophet = Prophecy(bonsai.core.tool.Sequence)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def spatial():
|
||||
prophet = Prophecy(blenderbim.core.tool.Spatial)
|
||||
prophet = Prophecy(bonsai.core.tool.Spatial)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def style():
|
||||
prophet = Prophecy(blenderbim.core.tool.Style)
|
||||
prophet = Prophecy(bonsai.core.tool.Style)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def surveyor():
|
||||
prophet = Prophecy(blenderbim.core.tool.Surveyor)
|
||||
prophet = Prophecy(bonsai.core.tool.Surveyor)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def system():
|
||||
prophet = Prophecy(blenderbim.core.tool.System)
|
||||
prophet = Prophecy(bonsai.core.tool.System)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def type():
|
||||
prophet = Prophecy(blenderbim.core.tool.Type)
|
||||
prophet = Prophecy(bonsai.core.tool.Type)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def unit():
|
||||
prophet = Prophecy(blenderbim.core.tool.Unit)
|
||||
prophet = Prophecy(bonsai.core.tool.Unit)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
@pytest.fixture
|
||||
def voider():
|
||||
prophet = Prophecy(blenderbim.core.tool.Voider)
|
||||
prophet = Prophecy(bonsai.core.tool.Voider)
|
||||
yield prophet
|
||||
prophet.verify()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user