MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / test_getattr

Method test_getattr

src/ifcopenshell-python/test/test_sql.py:61–64  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

59
60class TestEntity:
61 def test_getattr(self):
62 ifc_sqlite = get_ifc_sqlite()
63 assert (element := ifc_sqlite.by_id(1))
64 assert element.Name == "My Project"
65
66 def test_setattr(self):
67 ifc_sqlite = get_ifc_sqlite()

Callers

nothing calls this directly

Calls 2

get_ifc_sqliteFunction · 0.85
by_idMethod · 0.45

Tested by

no test coverage detected