def METHOD_NAME():
    """
    test that ``clear_all`` option sets other values to ''
    """
    with patch.dict(os.environ, {"INITIAL": "initial"}, clear=True):
        ret = envstate.setenv("test", "value", clear_all=True)
        assert ret["changes"] == {"test": "value", "INITIAL": ""}
        if salt.utils.platform.is_windows():
            assert envstate.os.environ == {"TEST": "value", "INITIAL": ""}
        else:
            assert envstate.os.environ == {"test": "value", "INITIAL": ""}