Update failure reason #3018

This commit is contained in:
Vukas Pajic
2023-04-18 13:12:24 +02:00
parent 94f4f499ef
commit 63bfa290db
+1 -1
View File
@@ -912,7 +912,7 @@ class PartOfResult(Result):
class PropertyResult(Result):
def to_string(self):
if self.reason["type"] == "NOPSET":
return "The entity has no property sets"
return "The required property set does not exist"
elif self.reason["type"] == "NOVALUE":
return "The property set does not contain the required property"
elif self.reason["type"] == "MEASURE":