def METHOD_NAME():
    """
    scenario of creating upgrading extensions with possible schema and
    version specifications
    """
    with patch.dict(postgres_extension.__opts__, {"test": False}):
        with patch.dict(
            postgres_extension.__salt__,
            {
                "postgres.is_installed_extension": Mock(side_effect=[True, True]),
                "postgres.drop_extension": Mock(side_effect=[False, False]),
            },
        ):
            ret = postgres_extension.absent("foo")
            assert ret == {
                "comment": "Extension foo failed to be removed",
                "changes": {},
                "name": "foo",
                "result": False,
            }