webdriverwrapper/errors.py
def allowed_error_pages(*error_pages):
    """
    Decorator ignoring defined error pages at the end of test method. As param
    use what :py:meth:`~.WebdriverWrapperErrorMixin.get_error_page`
    returns.

    .. versionadded:: 2.0
    """
    def wrapper(func):
        setattr(func, ALLOWED_ERROR_PAGES, error_pages)
        return func
    return wrapper

    Decorator ignoring defined error pages at the end of test method. As param
    use what :py:meth:`~.WebdriverWrapperErrorMixin.get_error_page`
    returns.

    .. versionadded:: 2.0
    
Decorator ignoring defined error pages at the end of test method.


Decorator ignoring defined error pages at the end of test method .
def allowed_error_pages(*error_pages):
    def wrapper(func):
        setattr(func, ALLOWED_ERROR_PAGES, error_pages)
        return func
    return wrapper
def allowed_error_pages ( * error_pages ) : def wrapper ( func ) : setattr ( func , ALLOWED_ERROR_PAGES , error_pages ) return func return wrapper
Decorator ignoring defined error pages at the end of test method.
Decorator ignoring defined error pages at the end of test method .
"""
    Decorator ignoring defined error pages at the end of test method. As param
    use what :py:meth:`~.WebdriverWrapperErrorMixin.get_error_page`
    returns.

    .. versionadded:: 2.0
    """