def METHOD_NAME(caplog):
    """Test decorator with context based temp decorator disabling"""
    @work_in_progress
    def foo(y=0, z=0):
        return 1 + y + z
    with caplog.at_level(logging.WARN):
        # Check temp disable
        with TempDisableWIP():
            result = foo(1)
            assert result == 2
            # no log lines produced
            assert len(caplog.records) == 0