diff --git a/src/ifcopenshell-python/test/bootstrap.py b/src/ifcopenshell-python/test/bootstrap.py index ed0533d23e..1603fcdb26 100644 --- a/src/ifcopenshell-python/test/bootstrap.py +++ b/src/ifcopenshell-python/test/bootstrap.py @@ -35,7 +35,7 @@ class IFC4X3: class IFC4: @pytest.fixture(autouse=True) def setup(self): - self.file:ifcopenshell.file = ifcopenshell.api.run("project.create_file") + self.file: ifcopenshell.file = ifcopenshell.api.run("project.create_file") ifcopenshell.api.owner.settings.get_user = lambda ifc: (ifc.by_type("IfcPersonAndOrganization") or [None])[0] ifcopenshell.api.owner.settings.get_application = lambda ifc: (ifc.by_type("IfcApplication") or [None])[0] ifcopenshell.api.pre_listeners = {} @@ -45,7 +45,7 @@ class IFC4: class IFC2X3: @pytest.fixture(autouse=True) def setup(self): - self.file:ifcopenshell.file = ifcopenshell.api.run("project.create_file", version="IFC2X3") + self.file: ifcopenshell.file = ifcopenshell.api.run("project.create_file", version="IFC2X3") ifcopenshell.api.owner.settings.get_user = lambda ifc: ifc.createIfcPersonAndOrganization() ifcopenshell.api.owner.settings.get_application = lambda ifc: ifc.createIfcApplication() ifcopenshell.api.pre_listeners = {}