We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 13a51c8 commit 206b274Copy full SHA for 206b274
1 file changed
test/test_validation.py
@@ -139,6 +139,17 @@ def test_section_name_readable(self):
139
res = validate(doc)
140
self.assertError(res, "Name should be readable")
141
142
+ def test_property_name_readable(self):
143
+ """
144
+ Test if property name is not uuid and thus more readable.
145
146
+ doc = odml.Document()
147
+ sec = odml.Section("sec", parent=doc)
148
+ prop = odml.Property("prop", parent=sec)
149
+ prop.name = prop.id
150
+ res = validate(doc)
151
+ self.assertError(res, "Name should be readable")
152
+
153
def test_standalone_section(self):
154
"""
155
Test if standalone section does not return errors if required attributes are correct.
0 commit comments