Minor IfcTester fixes

This commit is contained in:
Dion Moult
2022-10-27 23:37:01 +11:00
parent 62229b032e
commit 4533b74d65
+3 -3
View File
@@ -693,7 +693,7 @@ class Material(Facet):
"All data with a material",
]
self.requirement_templates = [
"Shall shall have a material of {value}",
"Shall have a material of {value}",
"Shall have a material",
]
super().__init__(value, uri, minOccurs, maxOccurs, instructions)
@@ -745,9 +745,9 @@ class Material(Facet):
class Restriction:
def __init__(self, options={}, base="string"):
def __init__(self, options=None, base="string"):
self.base = base
self.options = options
self.options = options or {}
def parse(self, ids_dict):
if not ids_dict: