Minor fix. See #1711.

This commit is contained in:
Dion Moult
2021-08-31 18:33:52 +10:00
parent 8792c6db63
commit 5485177888
5 changed files with 20 additions and 18 deletions
+4 -3
View File
@@ -1,10 +1,11 @@
import pytest
import test.bootstrap
import bootstrap
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.util.element
class TestTransaction(test.bootstrap.IFC4):
class TestTransaction(bootstrap.IFC4):
def test_that_nothing_happens_without_a_transaction(self):
wall = self.file.createIfcWall()
self.file.undo()
@@ -133,7 +134,7 @@ class TestTransaction(test.bootstrap.IFC4):
assert len(list(self.file)) == 2
class TestFile(test.bootstrap.IFC4):
class TestFile(bootstrap.IFC4):
def test_creating_a_new_file(self):
f = ifcopenshell.file(schema="IFC4")
assert f.schema == "IFC4"