New usecase for adding conversion based units

This commit is contained in:
Dion Moult
2021-10-12 18:31:18 +11:00
parent e455f87305
commit fc2e12bff6
20 changed files with 974 additions and 207 deletions
+7
View File
@@ -98,6 +98,13 @@ def container():
prophet.verify()
@pytest.fixture
def unit():
prophet = Prophecy(blenderbim.core.tool.Unit)
yield prophet
prophet.verify()
class Prophecy:
def __init__(self, cls):
self.subject = cls