def METHOD_NAME(self, attrs, run_status):
    expected = 'NOT RUN' if self._not_run(attrs) else run_status
    if attrs['status'] != expected:
        raise AssertionError('Wrong keyword status %s, expected %s.'
                             % (attrs['status'], expected))