mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
Simplify packaging, add create project smoke test. New license target.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user