'Used by tests to determine are they considered critical or not.
Normally configured using ``--critical`` and ``--noncritical``
command line options. Can be set programmatically using
:meth:`set_criticality` of the root test suite.'

@property
def criticality(self):

    if self.parent:
        return self.parent.criticality
    if (self._criticality is None):
        self.set_criticality()
    return self._criticality
