Simplify packaging, add create project smoke test. New license target.

This commit is contained in:
Dion Moult
2021-09-03 14:11:15 +10:00
parent 81b0442abe
commit b71684955d
25 changed files with 400 additions and 205 deletions
+3 -3
View File
@@ -1,11 +1,11 @@
import pytest
import bootstrap
import test.bootstrap
import ifcopenshell
import ifcopenshell.api
import ifcopenshell.util.element
class TestTransaction(bootstrap.IFC4):
class TestTransaction(test.bootstrap.IFC4):
def test_that_nothing_happens_without_a_transaction(self):
wall = self.file.createIfcWall()
self.file.undo()
@@ -134,7 +134,7 @@ class TestTransaction(bootstrap.IFC4):
assert len(list(self.file)) == 2
class TestFile(bootstrap.IFC4):
class TestFile(test.bootstrap.IFC4):
def test_creating_a_new_file(self):
f = ifcopenshell.file(schema="IFC4")
assert f.schema == "IFC4"