def METHOD_NAME(caplog):
    """Test that decorator can be disabled using disable_wip function"""
    func = lambda x: x
    work_in_progress(func, action=Action.ERROR)
    # Sanity check that we get exception as expected
    with pytest.raises(Exception):
        func()
    # Disable decorator
    disable_wip()
    # Try again, this time there should not be any exception
    result = func(1)
    assert result == 1