"""Post-install sanity (tier-0)."""

from __future__ import annotations

import pytest

import mgf.cloud_provision as m

pytestmark = pytest.mark.smoke


def test_version_present() -> None:
    assert m.__version__


def test_public_api_exported() -> None:
    for name in (
        "ServiceSpec",
        "ServicePlan",
        "ApplyResult",
        "Action",
        "plan",
        "apply",
        "destroy",
        "load_spec",
        "devpi_service_spec",
        "to_server_spec",
    ):
        assert hasattr(m, name), name
