def METHOD_NAME(is_v2_false, vault_kvv1):
    """
    Test that nesting_key is honored as expected
    """
    with patch.dict(
        vault.__utils__,
        {
            "vault.is_v2": Mock(return_value=is_v2_false),
            "vault.make_request": vault_kvv1,
        },
    ):
        ext_pillar = vault.ext_pillar(
            "testminion", {}, "path=secret/path", nesting_key="baz"
        )
        assert "foo" not in ext_pillar
        assert "baz" in ext_pillar
        assert "foo" in ext_pillar["baz"]
        assert ext_pillar["baz"]["foo"] == "bar"