mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-18 06:21:40 +00:00
black .
This commit is contained in:
@@ -32,7 +32,11 @@ def get_ifc_sqlite() -> ifcopenshell.sqlite:
|
|||||||
if SQLITE_PATH is None:
|
if SQLITE_PATH is None:
|
||||||
tmp = tempfile.NamedTemporaryFile(delete=False, suffix=".ifcsqlite")
|
tmp = tempfile.NamedTemporaryFile(delete=False, suffix=".ifcsqlite")
|
||||||
SQLITE_PATH = ifcpatch.execute(
|
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 isinstance(SQLITE_PATH, str)
|
||||||
ifc_sqlite = ifcopenshell.open(SQLITE_PATH)
|
ifc_sqlite = ifcopenshell.open(SQLITE_PATH)
|
||||||
|
|||||||
Reference in New Issue
Block a user