This commit is contained in:
Andrej730
2025-02-11 18:13:43 +05:00
parent 57d7d83ebb
commit 5b7964f04c
5 changed files with 22 additions and 14 deletions
+5 -1
View File
@@ -36,7 +36,11 @@ class TestIfc2Sql:
TEST_FILE = Path(__file__).parent / "files" / "basic.ifc"
tmp = tempfile.NamedTemporaryFile(delete=False, suffix=".ifcsqlite")
sqlite_path = ifcpatch.execute(
{"file": ifcopenshell.open(TEST_FILE), "recipe": "Ifc2Sql", "arguments": ["sqlite", None, None, None, tmp.name]}
{
"file": ifcopenshell.open(TEST_FILE),
"recipe": "Ifc2Sql",
"arguments": ["sqlite", None, None, None, tmp.name],
}
)
assert isinstance(sqlite_path, str)
assert sqlite_path.endswith(".ifcsqlite")