Skip to content

Commit c5e5036

Browse files
committed
Store applicability in IfcTester JSON results
1 parent 0f68679 commit c5e5036

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ifctester/ifctester/reporter.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,7 @@ def report(self):
163163
return self.results
164164

165165
def report_specification(self, specification):
166+
applicability = [a.to_string("applicability") for a in specification.applicability]
166167
requirements = []
167168
for requirement in specification.requirements:
168169
requirements.append(
@@ -182,6 +183,7 @@ def report_specification(self, specification):
182183
"total": total,
183184
"percentage": percentage,
184185
"required": specification.minOccurs != 0,
186+
"applicability": applicability,
185187
"requirements": requirements,
186188
}
187189

0 commit comments

Comments
 (0)