def METHOD_NAME(base_pillar_data):
    with patch.dict(
        consul_pillar.__salt__, {"grains.get": MagicMock(return_value=({}))}
    ):
        with patch.object(
            consul_pillar,
            "consul_fetch",
            MagicMock(return_value=("2232", base_pillar_data)),
        ):
            pillar_data = consul_pillar.ext_pillar(
                "testminion",
                {},
                "consul_config root=test-shared/ expand_keys=false",
            )
            assert isinstance(pillar_data["user"]["dontexpand"], str)