Fix failing tests from refactor which I really should've done before the release

This commit is contained in:
Dion Moult
2023-01-09 11:00:46 +11:00
parent 1888048d4d
commit 360b9956c0
6 changed files with 35 additions and 35 deletions
@@ -55,9 +55,7 @@ class Usecase:
ifcopenshell.api.run("spatial.remove_container", model, product=wall)
"""
self.file = file
self.settings = {"product": None}
for key, value in settings.items():
self.settings[key] = value
self.settings = {"product": product}
def execute(self):
contained_in_structure = self.settings["product"].ContainedInStructure