def __getattr__(self, attr):
        """
        Provides fancy shortcuts for severity::

            # these are the same
            pytest.allure.CRITICAL
            pytest.allure.severity(pytest.allure.severity_level.CRITICAL)

        """
        if dir(Severity) in attr and not attr.startswith('_'):
            return self.severity(getattr(Severity, attr))
        else:
            raise AttributeError
dataset/ETHPy150Open allure-framework/allure-python/allure/pytest_plugin.py/AllureHelper.__getattr__/swapped operands of `in`